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.
Completed
Branch master (f382b0)
by Andrei
18:39
created
src/Models/Redirect.php 2 patches
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
      * @param Builder $query
74 74
      * @param string $url
75 75
      *
76
-     * @return mixed
76
+     * @return Builder
77 77
      */
78 78
     public function scopeWhereOldUrl($query, string $url)
79 79
     {
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
      * @param Builder $query
87 87
      * @param string $url
88 88
      *
89
-     * @return mixed
89
+     * @return Builder
90 90
      */
91 91
     public function scopeWhereNewUrl($query, string $url)
92 92
     {
@@ -127,7 +127,7 @@  discard block
 block discarded – undo
127 127
      * - it's status code is one of the statuses defined on this model.
128 128
      *
129 129
      * @param string $path
130
-     * @return Redirect|null
130
+     * @return RedirectModelContract
131 131
      */
132 132
     public static function findValidOrNull($path): RedirectModelContract
133 133
     {
Please login to merge, or discard this patch.
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2,10 +2,10 @@
 block discarded – undo
2 2
 
3 3
 namespace Neurony\Redirects\Models;
4 4
 
5
-use Illuminate\Database\Eloquent\Model;
6 5
 use Illuminate\Database\Eloquent\Builder;
7
-use Neurony\Redirects\Exceptions\RedirectException;
6
+use Illuminate\Database\Eloquent\Model;
8 7
 use Neurony\Redirects\Contracts\RedirectModelContract;
8
+use Neurony\Redirects\Exceptions\RedirectException;
9 9
 
10 10
 class Redirect extends Model implements RedirectModelContract
11 11
 {
Please login to merge, or discard this patch.
src/ServiceProvider.php 1 patch
Unused Use Statements   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -2,13 +2,13 @@
 block discarded – undo
2 2
 
3 3
 namespace Neurony\Redirects;
4 4
 
5
+use Illuminate\Contracts\Foundation\Application;
5 6
 use Illuminate\Support\Facades\File;
6 7
 use Illuminate\Support\Facades\Route;
7
-use Neurony\Redirects\Models\Redirect;
8
-use Illuminate\Contracts\Foundation\Application;
9
-use Neurony\Redirects\Middleware\RedirectRequests;
10
-use Neurony\Redirects\Contracts\RedirectModelContract;
11 8
 use Illuminate\Support\ServiceProvider as BaseServiceProvider;
9
+use Neurony\Redirects\Contracts\RedirectModelContract;
10
+use Neurony\Redirects\Middleware\RedirectRequests;
11
+use Neurony\Redirects\Models\Redirect;
12 12
 
13 13
 class ServiceProvider extends BaseServiceProvider
14 14
 {
Please login to merge, or discard this patch.