From 43eebe1a8b2d5e1b97ccc0b32ee140478aaea89d Mon Sep 17 00:00:00 2001 From: Hugo Hamon Date: Thu, 12 Jan 2012 19:44:42 +0100 Subject: [PATCH] [Query] removed unused local variable $lexer in SizeFunction class. --- lib/Doctrine/ORM/Query/AST/Functions/SizeFunction.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/Doctrine/ORM/Query/AST/Functions/SizeFunction.php b/lib/Doctrine/ORM/Query/AST/Functions/SizeFunction.php index 3decb918e..52173c406 100644 --- a/lib/Doctrine/ORM/Query/AST/Functions/SizeFunction.php +++ b/lib/Doctrine/ORM/Query/AST/Functions/SizeFunction.php @@ -109,8 +109,6 @@ class SizeFunction extends FunctionNode */ public function parse(\Doctrine\ORM\Query\Parser $parser) { - $lexer = $parser->getLexer(); - $parser->match(Lexer::T_SIZE); $parser->match(Lexer::T_OPEN_PARENTHESIS);