some more typo and readability fixes

This commit is contained in:
lubiana 2022-04-30 21:24:25 +02:00
parent 33e7c08624
commit 9954be75f8
Signed by: lubiana
SSH key fingerprint: SHA256:vW1EA0fRR3Fw+dD/sM0K+x3Il2gSry6YRYHqOeQwrfk
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) {