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

@@ 549-557 (lines=9) @@
546
    /**
547
     * Collapse the complete category tree.
548
     */
549
    public function collapseAll()
550
    {
551
        $numTreeTab = count($this->treeTab);
552
        for ($i = 0; $i < $numTreeTab; ++$i) {
553
            if ($this->treeTab[$i]['symbol'] == 'minus') {
554
                $this->treeTab[$i]['symbol'] = 'plus';
555
            }
556
        }
557
    }
558
559
    /**
560
     * expand the node $id.
@@ 599-607 (lines=9) @@
596
     *
597
     * @return void
598
     */
599
    public function expandAll()
600
    {
601
        $numTreeTab = count($this->treeTab);
602
        for ($i = 0; $i < $numTreeTab; ++$i) {
603
            if ($this->treeTab[$i]['symbol'] == 'plus') {
604
                $this->treeTab[$i]['symbol'] = 'minus';
605
            }
606
        }
607
    }
608
609
    /**
610
     * Total height of the expanded tree.