Code Duplication    Length = 5-5 lines in 2 locations

lib/Doctrine/ORM/Query/Parser.php 2 locations

@@ 1561-1565 (lines=5) @@
1558
            return null;
1559
        }
1560
1561
        if ($this->lexer->isNextToken(Lexer::T_INPUT_PARAMETER)) {
1562
            $this->match(Lexer::T_INPUT_PARAMETER);
1563
1564
            return new AST\InputParameter($this->lexer->token['value']);
1565
        }
1566
1567
        return $this->ArithmeticExpression();
1568
    }
@@ 3146-3150 (lines=5) @@
3143
     */
3144
    public function InstanceOfParameter()
3145
    {
3146
        if ($this->lexer->isNextToken(Lexer::T_INPUT_PARAMETER)) {
3147
            $this->match(Lexer::T_INPUT_PARAMETER);
3148
3149
            return new AST\InputParameter($this->lexer->token['value']);
3150
        }
3151
3152
        $abstractSchemaName = $this->AbstractSchemaName();
3153