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

src/Parse/IndexDefinition.php 2 locations

@@ 272-279 (lines=8) @@
269
        //
270
        $covers = [];
271
        $cover = [];
272
        foreach ($this->columns as $column) {
273
            $name = $column['name'];
274
            if ($column['length']) {
275
                $name .= '(' . $column['length'] . ')';
276
            }
277
            $cover[] = $name;
278
            $covers[] = $cover;
279
        }
280
        return $covers;
281
    }
282
@@ 293-299 (lines=7) @@
290
    public function getColumns()
291
    {
292
        $columns = [];
293
        foreach ($this->columns as $column) {
294
            $name = $column['name'];
295
            if ($column['length']) {
296
                $name .= '(' . $column['length'] . ')';
297
            }
298
            $columns[] = $name;
299
        }
300
        return $columns;
301
    }
302