From 45d74e72203dc47cfc889132491114351657830e Mon Sep 17 00:00:00 2001 From: Marco Pivetta Date: Wed, 27 Aug 2014 02:12:08 +0200 Subject: [PATCH] DDC-3276 - #1122 - updating EBNF in docblock to reflect new syntax support --- lib/Doctrine/ORM/Query/Parser.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/Doctrine/ORM/Query/Parser.php b/lib/Doctrine/ORM/Query/Parser.php index ab47121ee8..fea4f9a128 100644 --- a/lib/Doctrine/ORM/Query/Parser.php +++ b/lib/Doctrine/ORM/Query/Parser.php @@ -2939,8 +2939,7 @@ public function SimpleEntityExpression() /** * AggregateExpression ::= - * ("AVG" | "MAX" | "MIN" | "SUM") "(" ["DISTINCT"] StateFieldPathExpression ")" | - * "COUNT" "(" ["DISTINCT"] (IdentificationVariable | SingleValuedPathExpression) ")" + * ("AVG" | "MAX" | "MIN" | "SUM" | "COUNT") "(" ["DISTINCT"] SimpleArithmeticExpression ")" * * @return \Doctrine\ORM\Query\AST\AggregateExpression */