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 = 5-5 lines in 3 locations

src/Http/Controllers/AdminController.php 3 locations

@@ 347-351 (lines=5) @@
344
                foreach ($display->getTabs() as $tab) {
345
                    $content = $tab->getContent();
346
347
                    if ($content instanceof DisplayTable) {
348
                        $column = $content->getColumns()->all()->filter(function ($column) use ($field) {
349
                            return ($column instanceof ColumnEditableInterface) and $field == $column->getName();
350
                        })->first();
351
                    }
352
                    if ($content instanceof FormElements) {
353
                        foreach ($content->getElements() as $element) {
354
@@ 356-360 (lines=5) @@
353
                        foreach ($content->getElements() as $element) {
354
355
                            //Return data-table if inside FormElements
356
                            if ($element instanceof DisplayTable) {
357
                                $column = $element->getColumns()->all()->filter(function ($column) use ($field) {
358
                                    return ($column instanceof ColumnEditableInterface) and $field == $column->getName();
359
                                })->first();
360
                            }
361
362
                            //Try to find inline Editable in columns
363
                            if ($element instanceof Column) {
@@ 365-369 (lines=5) @@
362
                            //Try to find inline Editable in columns
363
                            if ($element instanceof Column) {
364
                                foreach ($element->getElements() as $columnElement) {
365
                                    if ($columnElement instanceof DisplayTable) {
366
                                        $column = $columnElement->getColumns()->all()->filter(function ($column) use ($field) {
367
                                            return ($column instanceof ColumnEditableInterface) and $field == $column->getName();
368
                                        })->first();
369
                                    }
370
                                }
371
                            }
372
                        }