Code Duplication    Length = 5-5 lines in 2 locations

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

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