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 2 locations

src/Flare/Admin/Models/ModelAdmin.php 2 locations

@@ 320-324 (lines=5) @@
317
318
        $formattedKey = str_replace('.', '_', $key);
319
320
        if ($this->hasGetAccessor($formattedKey)) {
321
            $method = 'get'.Str::studly($formattedKey).'Attribute';
322
323
            return $this->{$method}($model);
324
        }
325
326
        if ($this->hasGetAccessor($key)) {
327
            $method = 'get'.Str::studly($key).'Attribute';
@@ 326-330 (lines=5) @@
323
            return $this->{$method}($model);
324
        }
325
326
        if ($this->hasGetAccessor($key)) {
327
            $method = 'get'.Str::studly($key).'Attribute';
328
329
            return $this->{$method}($model);
330
        }
331
332
        if ($this->hasRelatedKey($key, $model)) {
333
            return $this->relatedKey($key, $model);