From ef1dafb01dce027075bce4aa52c486a204bc9754 Mon Sep 17 00:00:00 2001 From: Soner Sayakci Date: Thu, 14 Nov 2024 04:12:24 +0100 Subject: [PATCH] fix: dont expand query on regular named arguments --- src/Connection.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/Connection.php b/src/Connection.php index 8ae477ab4e..6bd2a2e902 100644 --- a/src/Connection.php +++ b/src/Connection.php @@ -1950,10 +1950,6 @@ private function expandArrayParameters(string $sql, array $params, array $types) */ private function needsArrayParameterConversion(array $params, array $types): bool { - if (is_string(key($params))) { - return true; - } - foreach ($types as $type) { if ( $type === ArrayParameterType::INTEGER