From be5d1b1ee89d196c47281466a87b7c7c1af1cc9c Mon Sep 17 00:00:00 2001 From: Jan Skrasek Date: Sat, 9 Nov 2024 18:30:25 +0100 Subject: [PATCH] replace MYSQLI_TYPE_INTERVAL for PHP 8.4 compatibility --- src/Drivers/Mysqli/MysqliResultNormalizerFactory.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Drivers/Mysqli/MysqliResultNormalizerFactory.php b/src/Drivers/Mysqli/MysqliResultNormalizerFactory.php index 1de9f19..21863c2 100644 --- a/src/Drivers/Mysqli/MysqliResultNormalizerFactory.php +++ b/src/Drivers/Mysqli/MysqliResultNormalizerFactory.php @@ -76,7 +76,7 @@ public function resolve(array $types): array static $ints = [ MYSQLI_TYPE_BIT => true, MYSQLI_TYPE_INT24 => true, - MYSQLI_TYPE_INTERVAL => true, + MYSQLI_TYPE_ENUM => true, MYSQLI_TYPE_TINY => true, MYSQLI_TYPE_SHORT => true, MYSQLI_TYPE_LONG => true,