From b3db7dfd4cad4c6ff5ec114876de35ea85a1775a Mon Sep 17 00:00:00 2001 From: Nuno Maduro Date: Thu, 1 Feb 2024 11:45:19 +0000 Subject: [PATCH] chore: fixes type checking --- src/Kernel.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }