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
Push — master ( 413ca6...9053fe )
by Marceau
03:52
created
src/Services/CrudEntry.php 3 patches
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.
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
     /**
39 39
      * CrudEntry constructor.
40 40
      *
41
-     * @param   Model|Crudable $model
41
+     * @param   Model $model
42 42
      * @throws  \InvalidArgumentException
43 43
      */
44 44
     public function __construct(Model $model)
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use Akibatech\Crud\Exceptions\InvalidModelException;
6 6
 use Akibatech\Crud\Exceptions\NoFieldsException;
7
-use Akibatech\Crud\Fields\Field;
8 7
 use Akibatech\Crud\Traits\Crudable;
9 8
 use Illuminate\Database\Eloquent\Model;
10 9
 use Illuminate\Support\Facades\View;
Please login to merge, or discard this patch.
src/Fields/Field.php 2 patches
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.
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -311,7 +311,7 @@
 block discarded – undo
311 311
      * Get the field value.
312 312
      *
313 313
      * @param   void
314
-     * @return  mixed
314
+     * @return  string
315 315
      */
316 316
     public function getValue()
317 317
     {
Please login to merge, or discard this patch.
src/CrudServiceProvider.php 1 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/Crud.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -47,8 +47,7 @@
 block discarded – undo
47 47
         if (is_string($crudable))
48 48
         {
49 49
             return new CrudEntry(new $crudable);
50
-        }
51
-        else if (is_object($crudable) && array_key_exists(Crudable::class, class_uses($crudable)))
50
+        } else if (is_object($crudable) && array_key_exists(Crudable::class, class_uses($crudable)))
52 51
         {
53 52
             return new CrudEntry($crudable);
54 53
         }
Please login to merge, or discard this patch.
src/Services/CrudManager.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -252,7 +252,7 @@  discard block
 block discarded – undo
252 252
             'prefix'     => $this->route_uri_prefix,
253 253
             'as'         => $this->route_name_prefix,
254 254
             'middleware' => 'web'
255
-        ], function ($router) use ($routes, $controller)
255
+        ], function($router) use ($routes, $controller)
256 256
         {
257 257
             foreach ($routes as $route)
258 258
             {
@@ -294,7 +294,7 @@  discard block
 block discarded – undo
294 294
      */
295 295
     public function setPerPage($per_page = 25)
296 296
     {
297
-        $this->per_page = (int)$per_page;
297
+        $this->per_page = (int) $per_page;
298 298
 
299 299
         return $this;
300 300
     }
Please login to merge, or discard this patch.
src/Services/CrudTable.php 1 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.