diff --git a/lib/Doctrine/ORM/Query/ParameterTypeInferer.php b/lib/Doctrine/ORM/Query/ParameterTypeInferer.php index 763743d9064..f2b24cd9093 100644 --- a/lib/Doctrine/ORM/Query/ParameterTypeInferer.php +++ b/lib/Doctrine/ORM/Query/ParameterTypeInferer.php @@ -61,6 +61,6 @@ public static function inferType($value) return '[' . static::inferType(current($value)) . ']'; } - return \PDO::PARAM_STR; + return Type::STRING; } }