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.
2 parents 9657be4 + d69f7ca commit be83e04Copy full SHA for be83e04
src/support/src/Environment.php
@@ -25,7 +25,7 @@ public function __construct(
25
protected ?bool $debug = null
26
) {
27
$this->env = $env ?? env('APP_ENV', 'local');
28
- $this->debug = $debug ?? env('APP_DEBUG', true);
+ $this->debug = $debug ?? (bool) env('APP_DEBUG', false);
29
}
30
31
public function __call($method, $parameters = [])
0 commit comments