These might be the final issues on scrutiniser, apart from code complexity.

This commit is contained in:
James Cole 2015-07-06 16:33:54 +02:00
parent ab53cdb896
commit d05c165ace

View File

@ -15,8 +15,6 @@ use FireflyIII\Models\TransactionType;
use Illuminate\Support\MessageBag; use Illuminate\Support\MessageBag;
use Log; use Log;
set_time_limit(0);
/** /**
* Class Importer * Class Importer
* *
@ -69,6 +67,8 @@ class Importer
*/ */
public function run() public function run()
{ {
set_time_limit(0);
$this->map = $this->data->getMap(); $this->map = $this->data->getMap();
$this->roles = $this->data->getRoles(); $this->roles = $this->data->getRoles();
$this->mapped = $this->data->getMapped(); $this->mapped = $this->data->getMapped();
@ -193,14 +193,6 @@ class Importer
$data = $postProcessor->process(); $data = $postProcessor->process();
} }
// $specifix = new Specifix();
// $specifix->setData($data);
// $specifix->setRow($row);
//$specifix->fix($data, $row); // TODO
// get data back:
//$data = $specifix->getData(); // TODO
return $data; return $data;
} }
@ -224,7 +216,7 @@ class Importer
/** /**
* @param array $data * @param array $data
* *
* @return static * @return TransactionJournal|string
*/ */
protected function createTransactionJournal(array $data) protected function createTransactionJournal(array $data)
{ {