Various bugfixes and code clean up.

This commit is contained in:
James Cole
2018-07-27 04:46:21 +02:00
parent 2ad8e7f343
commit 0312ba8ad7
60 changed files with 223 additions and 353 deletions

View File

@@ -113,7 +113,7 @@ class BunqJobConfiguration implements JobConfigurationInterface
Log::debug(sprintf('Now in BunqJobConfiguration::getHandler() with stage "%s"', $this->importJob->stage));
$handler = null;
switch ($this->importJob->stage) {
case 'new';
case 'new':
$handler = app(NewBunqJobHandler::class);
$handler->setImportJob($this->importJob);
break;

View File

@@ -101,13 +101,10 @@ class FileJobConfiguration implements JobConfigurationInterface
return 'import.file.new';
case 'configure-upload':
return 'import.file.configure-upload';
break;
case 'roles':
return 'import.file.roles';
break;
case 'map':
return 'import.file.map';
break;
default:
// @codeCoverageIgnoreStart
throw new FireflyException(