Skip to content

Commit

Permalink
Allow the optimizer to replace the entire expression with true or false
Browse files Browse the repository at this point in the history
  • Loading branch information
GrahamCampbell committed Dec 24, 2019
1 parent 61a4c49 commit 3ad6c31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Illuminate/Foundation/Application.php
Expand Up @@ -559,7 +559,7 @@ public function runningInConsole()
return $inConsole === true;
}

return PHP_SAPI === 'cli' || PHP_SAPI === 'phpdbg';
return \PHP_SAPI === 'cli' || \PHP_SAPI === 'phpdbg';
}

/**
Expand Down

0 comments on commit 3ad6c31

Please sign in to comment.