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

phpmyfaq/src/phpMyFAQ/Session.php 2 locations

@@ 374-377 (lines=4) @@
371
372
                $result = $this->config->getDb()->query($query);
373
374
                if (isset($result)) {
375
                    $row = $this->config->getDb()->fetchObject($result);
376
                    $users[0] = $row->anonymous_users;
377
                }
378
            }
379
380
            // Count all faquser records within the time window
@@ 394-397 (lines=4) @@
391
392
            $result = $this->config->getDb()->query($query);
393
394
            if (isset($result)) {
395
                $row = $this->config->getDb()->fetchObject($result);
396
                $users[1] = $row->registered_users;
397
            }
398
        }
399
400
        return $users;