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 (204c5a)
by Marceau
08:01
created
src/Fields/Field.php 2 patches
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -2,9 +2,7 @@
 block discarded – undo
2 2
 
3 3
 namespace Akibatech\Crud\Fields;
4 4
 
5
-use Akibatech\Crud\Services\CrudEntry;
6 5
 use Akibatech\Crud\Services\CrudFields;
7
-use Illuminate\Database\Eloquent\Model;
8 6
 
9 7
 /**
10 8
  * Class Field
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -62,8 +62,7 @@
 block discarded – undo
62 62
             {
63 63
                 $this->addRule($rule);
64 64
             }
65
-        }
66
-        else
65
+        } else
67 66
         {
68 67
             if (is_string($rules))
69 68
             {
Please login to merge, or discard this patch.
src/Services/CrudEntry.php 3 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
     /**
40 40
      * CrudEntry constructor.
41 41
      *
42
-     * @param   Model|Crudable $model
42
+     * @param   Model $model
43 43
      * @throws  \InvalidArgumentException
44 44
      */
45 45
     public function __construct(Model $model)
@@ -213,7 +213,7 @@  discard block
 block discarded – undo
213 213
      * Shortcut to self validate.
214 214
      *
215 215
      * @param   array $data
216
-     * @return  self
216
+     * @return  CrudValidator
217 217
      */
218 218
     public function validate(array $data)
219 219
     {
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,6 @@
 block discarded – undo
7 7
 use Akibatech\Crud\Fields\Field;
8 8
 use Akibatech\Crud\Traits\Crudable;
9 9
 use Illuminate\Database\Eloquent\Model;
10
-use Illuminate\Http\Request;
11 10
 
12 11
 /**
13 12
  * Class CrudEntry
Please login to merge, or discard this patch.
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -60,8 +60,7 @@  discard block
 block discarded – undo
60 60
                 $this->fields->hydrateErrorsFromSession();
61 61
                 $this->fields->hydrateFieldsFromSession();
62 62
             }
63
-        }
64
-        else
63
+        } else
65 64
         {
66 65
             throw new InvalidModelException("The model must use Crudable trait.");
67 66
         }
@@ -147,8 +146,7 @@  discard block
 block discarded – undo
147 146
                 'csrf_field'   => csrf_field(),
148 147
                 'method_field' => method_field($method),
149 148
             ];
150
-        }
151
-        else
149
+        } else
152 150
         {
153 151
             $view_name = 'crud::form-update';
154 152
             $method = $this->manager->getActionMethod('update');
Please login to merge, or discard this patch.
src/Services/CrudFields.php 2 patches
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -86,7 +86,6 @@  discard block
 block discarded – undo
86 86
     }
87 87
 
88 88
     /**
89
-     * @param   string $identifier
90 89
      * @param   Field $field
91 90
      * @return  self
92 91
      * @throws  DuplicateFieldIdentifierException
@@ -171,7 +170,7 @@  discard block
 block discarded – undo
171 170
      * Returns all fields keys.
172 171
      *
173 172
      * @param   void
174
-     * @return  array
173
+     * @return  integer[]
175 174
      */
176 175
     public function keys()
177 176
     {
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,6 @@
 block discarded – undo
5 5
 use Akibatech\Crud\Exceptions\DuplicateFieldIdentifierException;
6 6
 use Akibatech\Crud\Exceptions\NoFieldsException;
7 7
 use Akibatech\Crud\Fields\Field;
8
-use Illuminate\Http\Request;
9 8
 use Illuminate\Support\MessageBag;
10 9
 
11 10
 /**
Please login to merge, or discard this patch.
src/Services/CrudValidator.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -119,7 +119,6 @@
 block discarded – undo
119 119
     }
120 120
 
121 121
     /**
122
-     * @param   null|string $to
123 122
      * @return  RedirectResponse
124 123
      */
125 124
     public function redirect()
Please login to merge, or discard this patch.
src/CrudServiceProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -20,11 +20,11 @@
 block discarded – undo
20 20
         if ($this->app->runningInConsole())
21 21
         {
22 22
             $this->publishes([
23
-                __DIR__.'/../resources/lang/' => resource_path('lang/vendor/crud'),
23
+                __DIR__ . '/../resources/lang/' => resource_path('lang/vendor/crud'),
24 24
             ], 'crud');
25 25
 
26 26
             $this->publishes([
27
-                __DIR__.'/../resources/views/' => resource_path('views/vendor/crud'),
27
+                __DIR__ . '/../resources/views/' => resource_path('views/vendor/crud'),
28 28
             ], 'crud');
29 29
         }
30 30
 
Please login to merge, or discard this patch.
src/Services/CrudManager.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -247,7 +247,7 @@
 block discarded – undo
247 247
             'prefix'     => $this->route_uri_prefix,
248 248
             'as'         => $this->route_name_prefix,
249 249
             'middleware' => 'web'
250
-        ], function ($router) use ($routes, $controller)
250
+        ], function($router) use ($routes, $controller)
251 251
         {
252 252
             foreach ($routes as $route)
253 253
             {
Please login to merge, or discard this patch.