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/DisplayDatatablesAsync.php 1 location

@@ 261-273 (lines=13) @@
258
259
            foreach ($columns as $column) {
260
                if (in_array(get_class($column), $this->searchableColumns)) {
261
                    if ($column instanceof ColumnInterface) {
262
                        if (($metaInstance = $column->getMetaData()) instanceof ColumnMetaInterface) {
263
                            if (method_exists($metaInstance, 'onSearch')) {
264
                                $metaInstance->onSearch($column, $query, $search);
265
                                continue;
266
                            }
267
                        }
268
269
                        if (is_callable($callback = $column->getSearchCallback())) {
270
                            $callback($column, $query, $search);
271
                            continue;
272
                        }
273
                    }
274
275
                    $query->orWhere($column->getName(), 'like', '%'.$search.'%');
276
                }

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
        }