Various code cleanup.

This commit is contained in:
James Cole
2017-12-22 18:32:43 +01:00
parent f13a93348f
commit 8bd76d1ff0
188 changed files with 383 additions and 396 deletions

View File

@@ -107,11 +107,10 @@ class Upload implements ConfigurationInterface
$config['has-file-upload'] = $uploaded;
$repository->setConfiguration($this->job, $config);
if ($uploaded === false) {
if (false === $uploaded) {
$this->warning = 'No valid upload.';
}
return true;
}
}