From 16da74d1dacf7a730cc6feaae88eaa90c83da2d6 Mon Sep 17 00:00:00 2001 From: Hugo Hamon Date: Thu, 12 Jan 2012 20:16:34 +0100 Subject: [PATCH] [Query] removed unused private _peekBeyond() method from Parser class. --- lib/Doctrine/ORM/Query/Parser.php | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/lib/Doctrine/ORM/Query/Parser.php b/lib/Doctrine/ORM/Query/Parser.php index 7cf6d891d..7b9a67135 100644 --- a/lib/Doctrine/ORM/Query/Parser.php +++ b/lib/Doctrine/ORM/Query/Parser.php @@ -413,26 +413,6 @@ class Parser throw QueryException::semanticalError($message); } - /** - * Peeks beyond the specified token and returns the first token after that one. - * - * @param array $token - * @return array - */ - private function _peekBeyond($token) - { - $peek = $this->_lexer->peek(); - - while ($peek['value'] != $token) { - $peek = $this->_lexer->peek(); - } - - $peek = $this->_lexer->peek(); - $this->_lexer->resetPeek(); - - return $peek; - } - /** * Peek beyond the matched closing parenthesis and return the first token after that one. *