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

phpmyfaq/inc/PMF/Faq.php 2 locations

@@ 2385-2397 (lines=13) @@
2382
            $this->_config->getLanguage()->getLanguage()
2383
        );
2384
2385
        if ($result = $this->_config->getDb()->query($query)) {
2386
            if ($row = $this->_config->getDb()->fetchObject($result)) {
2387
                $question = array(
2388
                    'id' => $row->id,
2389
                    'lang' => $row->lang,
2390
                    'username' => $row->username,
2391
                    'email' => $row->email,
2392
                    'category_id' => $row->category_id,
2393
                    'question' => $row->question,
2394
                    'created' => $row->created,
2395
                    'is_visible' => $row->is_visible, );
2396
            }
2397
        }
2398
2399
        return $question;
2400
    }
@@ 2428-2442 (lines=15) @@
2425
            ($all == false ? " AND is_visible = 'Y'" : '')
2426
        );
2427
2428
         if ($result = $this->_config->getDb()->query($query)) {
2429
             while ($row = $this->_config->getDb()->fetchObject($result)) {
2430
                 $questions[] = array(
2431
                    'id' => $row->id,
2432
                    'lang' => $row->lang,
2433
                    'username' => $row->username,
2434
                    'email' => $row->email,
2435
                    'category_id' => $row->category_id,
2436
                    'question' => $row->question,
2437
                    'created' => $row->created,
2438
                    'answer_id' => $row->answer_id,
2439
                    'is_visible' => $row->is_visible,
2440
                );
2441
             }
2442
         }
2443
2444
         return $questions;
2445
     }