mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-11-17 23:28:20 +00:00
Code clean up.
This commit is contained in:
@@ -285,7 +285,6 @@ class CsvProcessor implements FileProcessorInterface
|
||||
}
|
||||
|
||||
return false;
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -301,7 +300,6 @@ class CsvProcessor implements FileProcessorInterface
|
||||
$config = $this->job->configuration;
|
||||
$names = array_keys($config['specifics']);
|
||||
foreach ($names as $name) {
|
||||
|
||||
if (!in_array($name, $this->validSpecifics)) {
|
||||
throw new FireflyException(sprintf('"%s" is not a valid class name', $name));
|
||||
}
|
||||
@@ -314,6 +312,5 @@ class CsvProcessor implements FileProcessorInterface
|
||||
}
|
||||
|
||||
return $row;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user