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/src/phpMyFAQ/Category.php 2 locations

@@ 679-687 (lines=9) @@
676
    /**
677
     * Collapse the complete category tree.
678
     */
679
    public function collapseAll()
680
    {
681
        $numTreeTab = count($this->treeTab);
682
        for ($i = 0; $i < $numTreeTab; ++$i) {
683
            if ($this->treeTab[$i]['symbol'] == 'minus') {
684
                $this->treeTab[$i]['symbol'] = 'plus';
685
            }
686
        }
687
    }
688
689
    /**
690
     * Get the line number where to find the node $id in the category tree.
@@ 849-857 (lines=9) @@
846
     *
847
     * @return void
848
     */
849
    public function expandAll()
850
    {
851
        $numTreeTab = count($this->treeTab);
852
        for ($i = 0; $i < $numTreeTab; ++$i) {
853
            if ($this->treeTab[$i]['symbol'] == 'plus') {
854
                $this->treeTab[$i]['symbol'] = 'minus';
855
            }
856
        }
857
    }
858
859
    /**
860
     * Total height of the expanded tree.