some more typo and readability fixes

This commit is contained in:
lubiana 2022-04-30 21:24:25 +02:00 committed by Andre Lubian
parent 68d4abab8f
commit e4fa8b8e42
3 changed files with 11 additions and 12 deletions

View file

@ -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) {