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

@@ 228-232 (lines=5) @@
225
226
        $result = $this->_config->getDb()->query($query);
227
228
        while ($row = $this->_config->getDb()->fetchArray($result)) {
229
            $this->categoryName[$row['id']] = $row;
230
            $this->categories[] =& $this->categoryName[$row['id']];
231
            $this->children[$row['parent_id']][$row['id']] =& $this->categoryName[$row['id']];
232
        }
233
234
        return $this->categories;
235
    }
@@ 1350-1356 (lines=7) @@
1347
        }
1348
        $query .= ' ORDER BY id';
1349
        $result = $this->_config->getDb()->query($query);
1350
        while ($row = $this->_config->getDb()->fetchArray($result)) {
1351
            if (!array_key_exists($row['id'],$this->categoryName)) {
1352
               $this->categoryName[$row['id']] = $row;
1353
               $this->categories[] =& $this->categoryName[$row['id']];
1354
               $this->children[$row['parent_id']][$row['id']] =& $this->categoryName[$row['id']];
1355
            }
1356
        }
1357
    }
1358
1359
    /**