mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Expand tests, do code cleanup.
This commit is contained in:
@@ -70,6 +70,7 @@ class CsvProcessor implements FileProcessorInterface
|
||||
* Does the actual job.
|
||||
*
|
||||
* @return bool
|
||||
* @throws \League\Csv\Exception
|
||||
*/
|
||||
public function run(): bool
|
||||
{
|
||||
@@ -159,6 +160,9 @@ class CsvProcessor implements FileProcessorInterface
|
||||
|
||||
/**
|
||||
* @return Iterator
|
||||
* @throws \League\Csv\Exception
|
||||
* @throws \League\Csv\Exception
|
||||
* @throws \Illuminate\Contracts\Filesystem\FileNotFoundException
|
||||
*/
|
||||
private function getImportArray(): Iterator
|
||||
{
|
||||
@@ -275,6 +279,7 @@ class CsvProcessor implements FileProcessorInterface
|
||||
* @param array $array
|
||||
*
|
||||
* @return bool
|
||||
* @throws FireflyException
|
||||
*/
|
||||
private function rowAlreadyImported(array $array): bool
|
||||
{
|
||||
|
Reference in New Issue
Block a user