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

phpmyfaq/src/phpMyFAQ/Category.php 2 locations

@@ 334-336 (lines=3) @@
331
        }
332
        $query .= ' ORDER BY id';
333
        $result = $this->config->getDb()->query($query);
334
        while ($row = $this->config->getDb()->fetchArray($result)) {
335
            $this->categories[$row['id']] = $row;
336
        }
337
338
        return $this->categories;
339
    }
@@ 1226-1228 (lines=3) @@
1223
        $num = $this->config->getDb()->numRows($result);
1224
        $this->categories = [];
1225
        if ($num > 0) {
1226
            while ($row = $this->config->getDb()->fetchArray($result)) {
1227
                $this->categories[intval($row['id'])] = $row;
1228
            }
1229
        }
1230
1231
        return $this->categories;