diff --git a/lib/Doctrine/ORM/Query/Filter/SQLFilter.php b/lib/Doctrine/ORM/Query/Filter/SQLFilter.php index 507493a54..b0248fbac 100644 --- a/lib/Doctrine/ORM/Query/Filter/SQLFilter.php +++ b/lib/Doctrine/ORM/Query/Filter/SQLFilter.php @@ -46,7 +46,7 @@ abstract class SQLFilter * * @var array */ - private $parameters; + private $parameters = []; /** * Constructs the SQLFilter object. @@ -56,7 +56,6 @@ abstract class SQLFilter final public function __construct(EntityManagerInterface $em) { $this->em = $em; - $this->parameters = array(); } /**