diff --git a/src/Kernel.php b/src/Kernel.php index 9bf79e05..b8683a20 100644 --- a/src/Kernel.php +++ b/src/Kernel.php @@ -139,7 +139,7 @@ final class Kernel $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; }