mirror of
https://github.com/hauke68/Magallanes.git
synced 2026-09-05 08:58:56 +02:00
Boolean and Null should be compared strictly.
This commit is contained in:
@@ -35,7 +35,7 @@ class UpdateCommand extends AbstractCommand
|
||||
Console::output('Updating application via ' . $task->getName() . ' ... ', 1, 0);
|
||||
$result = $task->run();
|
||||
|
||||
if ($result == true) {
|
||||
if ($result === true) {
|
||||
Console::output('<green>OK</green>' . PHP_EOL, 0);
|
||||
$exitCode = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user