Code clean up.

This commit is contained in:
James Cole
2017-11-15 10:52:29 +01:00
parent aee17221eb
commit 649dca77f5
305 changed files with 1200 additions and 1600 deletions

View File

@@ -61,5 +61,4 @@ interface ConfigurationInterface
* @return bool
*/
public function storeConfiguration(array $data): bool;
}

View File

@@ -23,7 +23,6 @@ declare(strict_types=1);
namespace FireflyIII\Support\Import\Configuration\Csv;
use FireflyIII\Exceptions\FireflyException;
use FireflyIII\Import\Mapper\MapperInterface;
use FireflyIII\Import\MapperPreProcess\PreProcessorInterface;
@@ -69,7 +68,6 @@ class Map implements ConfigurationInterface
$indexes = array_keys($this->data);
$rowIndex = 0;
foreach ($results as $rowIndex => $row) {
$row = $this->runSpecifics($row);
//do something here
@@ -117,7 +115,6 @@ class Map implements ConfigurationInterface
$this->job->save();
return $this->data;
}
/**
@@ -216,7 +213,6 @@ class Map implements ConfigurationInterface
}
return true;
}
/**

View File

@@ -23,7 +23,6 @@ declare(strict_types=1);
namespace FireflyIII\Support\Import\Configuration\Csv;
use FireflyIII\Import\Specifics\SpecificInterface;
use FireflyIII\Models\ImportJob;
use FireflyIII\Support\Import\Configuration\ConfigurationInterface;
@@ -150,7 +149,6 @@ class Roles implements ConfigurationInterface
}
return $roles;
}
/**
@@ -175,7 +173,6 @@ class Roles implements ConfigurationInterface
$this->job->save();
return true;
}
/**