Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
chore: fixes type checking
  • Loading branch information
nunomaduro committed Feb 1, 2024
1 parent b303f9f commit b3db7df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Kernel.php
Expand Up @@ -139,7 +139,7 @@ public function shutdown(): void
$this->terminate();

if (is_array($error = error_get_last())) {
if (! in_array($error['type'], [E_ERROR, E_CORE_ERROR])) {
if (! in_array($error['type'], [E_ERROR, E_CORE_ERROR], true)) {
return;
}

Expand Down

0 comments on commit b3db7df

Please sign in to comment.