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

@@ 2401-2413 (lines=13) @@
2398
            $this->_config->getLanguage()->getLanguage()
2399
        );
2400
2401
        if ($result = $this->_config->getDb()->query($query)) {
2402
            if ($row = $this->_config->getDb()->fetchObject($result)) {
2403
                $question = array(
2404
                    'id' => $row->id,
2405
                    'lang' => $row->lang,
2406
                    'username' => $row->username,
2407
                    'email' => $row->email,
2408
                    'category_id' => $row->category_id,
2409
                    'question' => $row->question,
2410
                    'created' => $row->created,
2411
                    'is_visible' => $row->is_visible, );
2412
            }
2413
        }
2414
2415
        return $question;
2416
    }
@@ 2444-2458 (lines=15) @@
2441
            ($all == false ? " AND is_visible = 'Y'" : '')
2442
        );
2443
2444
         if ($result = $this->_config->getDb()->query($query)) {
2445
             while ($row = $this->_config->getDb()->fetchObject($result)) {
2446
                 $questions[] = array(
2447
                    'id' => $row->id,
2448
                    'lang' => $row->lang,
2449
                    'username' => $row->username,
2450
                    'email' => $row->email,
2451
                    'category_id' => $row->category_id,
2452
                    'question' => $row->question,
2453
                    'created' => $row->created,
2454
                    'answer_id' => $row->answer_id,
2455
                    'is_visible' => $row->is_visible,
2456
                );
2457
             }
2458
         }
2459
2460
         return $questions;
2461
     }