Various code cleanup.

This commit is contained in:
James Cole
2018-07-26 06:10:17 +02:00
parent e8c9554dd6
commit 6bcfea1de4
37 changed files with 351 additions and 185 deletions

View File

@@ -62,7 +62,7 @@ class Import extends Command
public function handle(): int
{
Log::debug('Start start-import command');
$jobKey = $this->argument('key');
$jobKey = (string)$this->argument('key');
$job = ImportJob::where('key', $jobKey)->first();
if (null === $job) {
$this->errorLine(sprintf('No job found with key "%s"', $jobKey));