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

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