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

@@ 2304-2316 (lines=13) @@
2301
            $this->_config->getLanguage()->getLanguage()
2302
        );
2303
2304
        if ($result = $this->_config->getDb()->query($query)) {
2305
            if ($row = $this->_config->getDb()->fetchObject($result)) {
2306
                $question = array(
2307
                    'id' => $row->id,
2308
                    'lang' => $row->lang,
2309
                    'username' => $row->username,
2310
                    'email' => $row->email,
2311
                    'category_id' => $row->category_id,
2312
                    'question' => $row->question,
2313
                    'created' => $row->created,
2314
                    'is_visible' => $row->is_visible, );
2315
            }
2316
        }
2317
2318
        return $question;
2319
    }
@@ 2347-2361 (lines=15) @@
2344
            ($all == false ? " AND is_visible = 'Y'" : '')
2345
        );
2346
2347
         if ($result = $this->_config->getDb()->query($query)) {
2348
             while ($row = $this->_config->getDb()->fetchObject($result)) {
2349
                 $questions[] = array(
2350
                    'id' => $row->id,
2351
                    'lang' => $row->lang,
2352
                    'username' => $row->username,
2353
                    'email' => $row->email,
2354
                    'category_id' => $row->category_id,
2355
                    'question' => $row->question,
2356
                    'created' => $row->created,
2357
                    'answer_id' => $row->answer_id,
2358
                    'is_visible' => $row->is_visible,
2359
                );
2360
             }
2361
         }
2362
2363
         return $questions;
2364
     }