Code Duplication    Length = 8-8 lines in 2 locations

src/POData/UriProcessor/QueryProcessor/ExpressionParser/ExpressionParser.php 2 locations

@@ 349-356 (lines=8) @@
346
    {
347
        $this->recurseEnter();
348
        $expr = $this->parsePrimaryStart();
349
        while (true) {
350
            if ($this->getCurrentToken()->Id == ExpressionTokenId::SLASH) {
351
                $this->lexer->nextToken();
352
                $expr = $this->parsePropertyAccess($expr);
353
            } else {
354
                break;
355
            }
356
        }
357
358
        $this->recurseLeave();
359
@@ 546-553 (lines=8) @@
543
    private function parseArguments()
544
    {
545
        $argList = [];
546
        while (true) {
547
            $argList[] = $this->parseExpression();
548
            if ($this->getCurrentToken()->Id != ExpressionTokenId::COMMA) {
549
                break;
550
            }
551
552
            $this->lexer->nextToken();
553
        }
554
555
        return $argList;
556
    }