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

src/GlHtml.php 2 locations

@@ 220-225 (lines=6) @@
217
        }
218
219
        $description = $this->get('meta[name="description"]');
220
        if (count($description) > 0) {
221
            $description = trim($description[0]->getAttribute("content"));
222
            if (strlen($description) > 0) {
223
                array_unshift($sentences, $description);
224
            }
225
        }
226
227
        $title = $this->get('title');
228
        if (count($title) > 0) {
@@ 228-233 (lines=6) @@
225
        }
226
227
        $title = $this->get('title');
228
        if (count($title) > 0) {
229
            $title = trim($title[0]->getText());
230
            if (strlen($title) > 0) {
231
                array_unshift($sentences, $title);
232
            }
233
        }
234
235
        return $sentences;
236
    }