GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.

Code Duplication    Length = 9-9 lines in 2 locations

phpmyfaq/inc/PMF/Category.php 2 locations

@@ 532-540 (lines=9) @@
529
    /**
530
     * Collapse the complete category tree.
531
     */
532
    public function collapseAll()
533
    {
534
        $numTreeTab = count($this->treeTab);
535
        for ($i = 0; $i < $numTreeTab; ++$i) {
536
            if ($this->treeTab[$i]['symbol'] == 'minus') {
537
                $this->treeTab[$i]['symbol'] = 'plus';
538
            }
539
        }
540
    }
541
542
    /**
543
     * expand the node $id.
@@ 582-590 (lines=9) @@
579
     *
580
     * @return void
581
     */
582
    public function expandAll()
583
    {
584
        $numTreeTab = count($this->treeTab);
585
        for ($i = 0; $i < $numTreeTab; ++$i) {
586
            if ($this->treeTab[$i]['symbol'] == 'plus') {
587
                $this->treeTab[$i]['symbol'] = 'minus';
588
            }
589
        }
590
    }
591
592
    /**
593
     * Total height of the expanded tree.