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