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

src/Display/Extension/Columns.php 1 location

@@ 222-234 (lines=13) @@
219
            $column = $columns->get($columnIndex);
220
221
            if ($column instanceof ColumnInterface && $column->isOrderable()) {
222
                if ($column instanceof ColumnInterface) {
223
                    if (($metaInstance = $column->getMetaData()) instanceof ColumnMetaInterface) {
224
                        if (method_exists($metaInstance, 'onOrderBy')) {
225
                            $metaInstance->onOrderBy($column, $query, $direction);
226
                            continue;
227
                        }
228
                    }
229
230
                    if (is_callable($callback = $column->getOrderCallback())) {
231
                        $callback($column, $query, $direction);
232
                        continue;
233
                    }
234
                }
235
                $column->orderBy($query, $direction);
236
            }
237
        }

src/Display/DisplayDatatablesAsync.php 1 location

@@ 278-290 (lines=13) @@
275
276
            foreach ($columns as $column) {
277
                if ($this->checkSearchableColumns($column)) {
278
                    if ($column instanceof ColumnInterface) {
279
                        if (($metaInstance = $column->getMetaData()) instanceof ColumnMetaInterface) {
280
                            if (method_exists($metaInstance, 'onSearch')) {
281
                                $metaInstance->onSearch($column, $query, $search);
282
                                continue;
283
                            }
284
                        }
285
286
                        if (is_callable($callback = $column->getSearchCallback())) {
287
                            $callback($column, $query, $search);
288
                            continue;
289
                        }
290
                    }
291
292
                    $query->orWhere($column->getName(), 'like', '%'.$search.'%');
293
                }