Code Duplication    Length = 10-10 lines in 2 locations

htdocs/class/libraries/vendor/symfony/yaml/Parser.php 2 locations

@@ 473-482 (lines=10) @@
470
     *
471
     * @return bool
472
     */
473
    private function moveToNextLine()
474
    {
475
        if ($this->currentLineNb >= count($this->lines) - 1) {
476
            return false;
477
        }
478
479
        $this->currentLine = $this->lines[++$this->currentLineNb];
480
481
        return true;
482
    }
483
484
    /**
485
     * Moves the parser to the previous line.
@@ 489-498 (lines=10) @@
486
     *
487
     * @return bool
488
     */
489
    private function moveToPreviousLine()
490
    {
491
        if ($this->currentLineNb < 1) {
492
            return false;
493
        }
494
495
        $this->currentLine = $this->lines[--$this->currentLineNb];
496
497
        return true;
498
    }
499
500
    /**
501
     * Parses a YAML value.