1
0
Fork 0

Inline variable

pull/9165/head
username 2020-08-29 21:16:58 +02:00
parent e719be501e
commit 18009af023
1 changed files with 1 additions and 2 deletions

View File

@ -122,9 +122,8 @@ EOT
$commandEvent = new CommandEvent(PluginEvents::COMMAND, 'validate', $input, $output);
$eventCode = $composer->getEventDispatcher()->dispatch($commandEvent->getName(), $commandEvent);
$exitCode = max($eventCode, $exitCode);
return $exitCode;
return max($eventCode, $exitCode);
}
private function outputResult($io, $name, &$errors, &$warnings, $checkPublish = false, $publishErrors = array(), $checkLock = false, $lockErrors = array(), $printSchemaUrl = false)