We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9dee495 commit c0dc258Copy full SHA for c0dc258
src/Illuminate/Foundation/Application.php
@@ -696,7 +696,7 @@ public function isProduction()
696
*/
697
public function detectEnvironment(Closure $callback)
698
{
699
- $args = $this->runningInConsole() && $_SERVER['argv']
+ $args = $this->runningInConsole() && isset($_SERVER['argv'])
700
? $_SERVER['argv']
701
: null;
702
0 commit comments