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

phpmyfaq/inc/PMF/Category.php 2 locations

@@ 232-236 (lines=5) @@
229
        $result = $this->_config->getDb()->query($query);
230
231
        if ($result) {
232
            while ($row = $this->_config->getDb()->fetchArray($result)) {
233
                $this->categoryName[$row['id']] = $row;
234
                $this->categories[$row['id']] = &$this->categoryName[$row['id']];
235
                $this->children[$row['parent_id']][$row['id']] = &$this->categoryName[$row['id']];
236
            }
237
        }
238
239
        return $this->categories;
@@ 1442-1448 (lines=7) @@
1439
        }
1440
        $query .= ' ORDER BY id';
1441
        $result = $this->_config->getDb()->query($query);
1442
        while ($row = $this->_config->getDb()->fetchArray($result)) {
1443
            if (!array_key_exists($row['id'], $this->categoryName)) {
1444
                $this->categoryName[$row['id']] = $row;
1445
                $this->categories[$row['id']] = &$this->categoryName[$row['id']];
1446
                $this->children[$row['parent_id']][$row['id']] = &$this->categoryName[$row['id']];
1447
            }
1448
        }
1449
    }
1450
1451
    /**