Rename some variables.

This commit is contained in:
James Cole
2018-05-10 23:11:11 +02:00
parent 6f984aa591
commit 50874c9cf7
2 changed files with 16 additions and 15 deletions

View File

@@ -180,10 +180,12 @@ class ConfigureMappingHandler implements ConfigurationInterface
// in order to actually map we also need to read the FULL file.
try {
$reader = $this->getReader();
// @codeCoverageIgnoreStart
} catch (Exception $e) {
Log::error($e->getMessage());
throw new FireflyException('Cannot get reader: ' . $e->getMessage());
}
// @codeCoverageIgnoreEnd
// get ALL values for the mappable columns from the CSV file:
$columnConfig = $this->getValuesForMapping($reader, $config, $columnConfig);