From a72bdc6293064216ae737e6248c1cb2c5d752f5d Mon Sep 17 00:00:00 2001 From: COLE Edouard Date: Wed, 26 Apr 2017 13:05:52 +0200 Subject: [PATCH] Update ParameterTypeInferer.php --- lib/Doctrine/ORM/Query/ParameterTypeInferer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } }