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 = 8-8 lines in 2 locations

phpmyfaq/inc/PMF/Category.php 2 locations

@@ 519-526 (lines=8) @@
516
     *
517
     * @return void
518
     */
519
    public function collapseAll()
520
    {
521
        for ($i = 0; $i < count($this->treeTab); $i++) {
522
            if ($this->treeTab[$i]["symbol"] == "minus") {
523
                $this->treeTab[$i]["symbol"] = "plus";
524
            }
525
        }
526
    }
527
528
    /**
529
     * expand the node $id
@@ 563-570 (lines=8) @@
560
     *
561
     * @return void
562
     */
563
    public function expandAll()
564
    {
565
        for ($i = 0; $i < count($this->treeTab); $i++) {
566
            if ($this->treeTab[$i]["symbol"] == "plus") {
567
                $this->treeTab[$i]["symbol"] = "minus";
568
            }
569
        }
570
    }
571
572
    /**
573
     * Total height of the expanded tree