Boolean and Null should be compared strictly.

This commit is contained in:
Andrés Montañez
2014-10-11 14:43:57 -02:00
parent 5d39e46d9e
commit f20091afc6
11 changed files with 25 additions and 25 deletions
+1 -1
View File
@@ -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;