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 75a12d7 commit ce4fd71Copy full SHA for ce4fd71
src/Illuminate/Foundation/Application.php
@@ -759,7 +759,7 @@ public function isProduction()
759
*/
760
public function detectEnvironment(Closure $callback)
761
{
762
- $args = $this->runningInConsole() && $_SERVER['argv']
+ $args = $this->runningInConsole() && isset($_SERVER['argv'])
763
? $_SERVER['argv']
764
: null;
765
0 commit comments