some more typo and readability fixes
This commit is contained in:
parent
33e7c08624
commit
9954be75f8
3 changed files with 11 additions and 12 deletions
|
@ -58,7 +58,7 @@ $environment = getenv('ENVIRONMENT') ?: 'dev';
|
|||
error_reporting(E_ALL);
|
||||
|
||||
$whoops = new Run;
|
||||
if ($environment == 'dev') {
|
||||
if ($environment === 'dev') {
|
||||
$whoops->pushHandler(new PrettyPageHandler);
|
||||
} else {
|
||||
$whoops->pushHandler(function (\Throwable $e) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue