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

src/CheckLinksCommand.php 2 locations

@@ 88-99 (lines=12) @@
85
    /**
86
     * Get the profile.
87
     */
88
    protected function getProfile(): CrawlProfile
89
    {
90
        if (!is_null($this->option('profile'))) {
91
            return app($this->option('profile'));
92
        }
93
94
        if (config('laravel-link-checker.default_profile') != '') {
95
            return app(config('laravel-link-checker.default_profile'));
96
        }
97
98
        throw new Exception('Could not determine the profile to be used');
99
    }
100
101
    /**
102
     * Get the reporter.
@@ 104-115 (lines=12) @@
101
    /**
102
     * Get the reporter.
103
     */
104
    protected function getReporter(): CrawlObserver
105
    {
106
        if (!is_null($this->option('reporter'))) {
107
            return app($this->option('reporter'));
108
        }
109
110
        if (config('laravel-link-checker.default_reporter') != '') {
111
            return app(config('laravel-link-checker.default_reporter'));
112
        }
113
114
        throw new Exception('Could not reporter the profile to be used');
115
    }
116
}
117