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 ( a9dfdd...427bc5 )
by Aden
03:08
created
src/Flare/Admin/Widgets/WidgetAdmin.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -49,20 +49,20 @@
 block discarded – undo
49 49
             return static::$view;
50 50
         }
51 51
 
52
-        if (view()->exists('admin.widgets.'.static::safeTitle().'.widget')) {
53
-            return 'admin.widgets.'.static::safeTitle().'.widget';
52
+        if (view()->exists('admin.widgets.' . static::safeTitle() . '.widget')) {
53
+            return 'admin.widgets.' . static::safeTitle() . '.widget';
54 54
         }
55 55
 
56
-        if (view()->exists('admin.widgets.'.static::safeTitle())) {
57
-            return 'admin.widgets.'.static::safeTitle();
56
+        if (view()->exists('admin.widgets.' . static::safeTitle())) {
57
+            return 'admin.widgets.' . static::safeTitle();
58 58
         }
59 59
 
60
-        if (view()->exists('admin.'.static::safeTitle())) {
61
-            return 'admin.'.static::safeTitle();
60
+        if (view()->exists('admin.' . static::safeTitle())) {
61
+            return 'admin.' . static::safeTitle();
62 62
         }
63 63
 
64
-        if (view()->exists('flare::'.self::$view)) {
65
-            return 'flare::'.self::$view;
64
+        if (view()->exists('flare::' . self::$view)) {
65
+            return 'flare::' . self::$view;
66 66
         }
67 67
     }
68 68
 
Please login to merge, or discard this patch.
src/Flare/Admin/Models/ModelAdmin.php 2 patches
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -149,7 +149,7 @@  discard block
 block discarded – undo
149 149
             if (($methodBreaker = strpos($field, '.')) !== false) {
150 150
                 $method = substr($field, 0, $methodBreaker);
151 151
                 if (method_exists($this->model, $method)) {
152
-                    if (method_exists($this->model->$method(), $submethod = str_replace($method.'.', '', $field))) {
152
+                    if (method_exists($this->model->$method(), $submethod = str_replace($method . '.', '', $field))) {
153 153
                         $this->model->$method()->$submethod();
154 154
 
155 155
                         $columns[$field] = $fieldTitle;
@@ -189,7 +189,7 @@  discard block
 block discarded – undo
189 189
         }
190 190
 
191 191
         if ($this->hasGetAccessor($key)) {
192
-            $method = 'get'.Str::studly($key).'Attribute';
192
+            $method = 'get' . Str::studly($key) . 'Attribute';
193 193
 
194 194
             return $this->{$method}($model);
195 195
         }
@@ -210,7 +210,7 @@  discard block
 block discarded – undo
210 210
      */
211 211
     public function hasGetAccessor($key)
212 212
     {
213
-        return method_exists($this, 'get'.Str::studly($key).'Attribute');
213
+        return method_exists($this, 'get' . Str::studly($key) . 'Attribute');
214 214
     }
215 215
 
216 216
     /**
@@ -255,7 +255,7 @@  discard block
 block discarded – undo
255 255
         if (($methodBreaker = strpos($key, '.')) !== false) {
256 256
             $method = substr($key, 0, $methodBreaker);
257 257
             if (method_exists($model, $method)) {
258
-                if (method_exists($model->$method, $submethod = str_replace($method.'.', '', $key))) {
258
+                if (method_exists($model->$method, $submethod = str_replace($method . '.', '', $key))) {
259 259
                     return $model->$method->$submethod();
260 260
                 }
261 261
 
@@ -279,7 +279,7 @@  discard block
 block discarded – undo
279 279
     public function setAttribute($key, $value)
280 280
     {
281 281
         if ($this->hasSetMutator($key)) {
282
-            $method = 'set'.Str::studly($key).'Attribute';
282
+            $method = 'set' . Str::studly($key) . 'Attribute';
283 283
 
284 284
             return $this->{$method}($value);
285 285
         }
@@ -296,7 +296,7 @@  discard block
 block discarded – undo
296 296
      */
297 297
     public function hasSetMutator($key)
298 298
     {
299
-        return method_exists($this, 'set'.Str::studly($key).'Attribute');
299
+        return method_exists($this, 'set' . Str::studly($key) . 'Attribute');
300 300
     }
301 301
 
302 302
     /**
@@ -308,7 +308,7 @@  discard block
 block discarded – undo
308 308
      */
309 309
     public function hasGetMutator($key)
310 310
     {
311
-        return method_exists($this, 'get'.Str::studly($key).'Attribute');
311
+        return method_exists($this, 'get' . Str::studly($key) . 'Attribute');
312 312
     }
313 313
 
314 314
     /**
Please login to merge, or discard this patch.
Doc Comments   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -358,7 +358,7 @@  discard block
 block discarded – undo
358 358
     /**
359 359
      * Returns an array of Attribute Fields ready for output.
360 360
      * 
361
-     * @return array
361
+     * @return AttributeCollection
362 362
      */
363 363
     public function outputFields()
364 364
     {
@@ -443,7 +443,7 @@  discard block
 block discarded – undo
443 443
     /**
444 444
      * Determine if the Model Admin has Viewing Capabilities.
445 445
      * 
446
-     * @return bool
446
+     * @return null|boolean
447 447
      */
448 448
     public function hasViewing()
449 449
     {
@@ -453,7 +453,7 @@  discard block
 block discarded – undo
453 453
     /**
454 454
      * Determine if the Model Admin has Creating Capabilities.
455 455
      * 
456
-     * @return bool
456
+     * @return null|boolean
457 457
      */
458 458
     public function hasCreating()
459 459
     {
@@ -463,7 +463,7 @@  discard block
 block discarded – undo
463 463
     /**
464 464
      * Determine if the Model Admin has Cloning Capabilities.
465 465
      * 
466
-     * @return bool
466
+     * @return null|boolean
467 467
      */
468 468
     public function hasCloning()
469 469
     {
@@ -473,7 +473,7 @@  discard block
 block discarded – undo
473 473
     /**
474 474
      * Determine if the Model Admin has Editting Capabilities.
475 475
      * 
476
-     * @return bool
476
+     * @return null|boolean
477 477
      */
478 478
     public function hasEditting()
479 479
     {
@@ -483,7 +483,7 @@  discard block
 block discarded – undo
483 483
     /**
484 484
      * Determine if the Model Admin has Deleting Capabilities.
485 485
      * 
486
-     * @return bool
486
+     * @return null|boolean
487 487
      */
488 488
     public function hasDeleting()
489 489
     {
@@ -516,7 +516,7 @@  discard block
 block discarded – undo
516 516
     /**
517 517
      * Determine if the Model Admin has Validating Capabilities.
518 518
      * 
519
-     * @return bool
519
+     * @return null|boolean
520 520
      */
521 521
     public function hasValidating()
522 522
     {
@@ -538,7 +538,7 @@  discard block
 block discarded – undo
538 538
      * 
539 539
      * @param string $trait
540 540
      * 
541
-     * @return bool
541
+     * @return null|boolean
542 542
      */
543 543
     public function hasTrait($trait = null)
544 544
     {
@@ -554,7 +554,7 @@  discard block
 block discarded – undo
554 554
      * 
555 555
      * @param string $contract
556 556
      * 
557
-     * @return bool
557
+     * @return boolean|null
558 558
      */
559 559
     public function hasContract($contract = null)
560 560
     {
Please login to merge, or discard this patch.
src/Flare/Flare.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -98,7 +98,7 @@
 block discarded – undo
98 98
     /**
99 99
      * Returns the Application Instance.
100 100
      * 
101
-     * @return mixed
101
+     * @return \Illuminate\Foundation\Application
102 102
      */
103 103
     public function app()
104 104
     {
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -130,7 +130,7 @@  discard block
 block discarded – undo
130 130
             return $this->config[$key];
131 131
         }
132 132
 
133
-        return config('flare.'.$key);
133
+        return config('flare.' . $key);
134 134
     }
135 135
 
136 136
     /**
@@ -233,7 +233,7 @@  discard block
 block discarded – undo
233 233
      */
234 234
     public function relativeAdminUrl($path = '')
235 235
     {
236
-        return rtrim($this->getRelativeAdminUrl().'/'.$path, '/');
236
+        return rtrim($this->getRelativeAdminUrl() . '/' . $path, '/');
237 237
     }
238 238
 
239 239
     /**
@@ -271,7 +271,7 @@  discard block
 block discarded – undo
271 271
      */
272 272
     public function docsUrl($path = '')
273 273
     {
274
-        return url('#'.$path);
274
+        return url('#' . $path);
275 275
     }
276 276
 
277 277
     /**
Please login to merge, or discard this patch.
src/Flare/FlareServiceProvider.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -127,7 +127,7 @@
 block discarded – undo
127 127
     /**
128 128
      * Returns the path to a provided file within the Flare package.
129 129
      * 
130
-     * @param bool $fiepath
130
+     * @param bool $filepath
131 131
      * 
132 132
      * @return string
133 133
      */
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -133,6 +133,6 @@
 block discarded – undo
133 133
      */
134 134
     private function basePath($filepath = false)
135 135
     {
136
-        return __DIR__.'/../'.$filepath;
136
+        return __DIR__ . '/../' . $filepath;
137 137
     }
138 138
 }
Please login to merge, or discard this patch.
src/Flare/Admin/Admin.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -212,7 +212,7 @@  discard block
 block discarded – undo
212 212
             return $this->view;
213 213
         }
214 214
 
215
-        return 'flare::'.$this->view;
215
+        return 'flare::' . $this->view;
216 216
     }
217 217
 
218 218
     /**
@@ -368,7 +368,7 @@  discard block
 block discarded – undo
368 368
      */
369 369
     public function relativeUrl($path = '')
370 370
     {
371
-        return \Flare::relativeAdminUrl($this->urlPrefix().($path ? '/'.$path : ''));
371
+        return \Flare::relativeAdminUrl($this->urlPrefix() . ($path ? '/' . $path : ''));
372 372
     }
373 373
 
374 374
     /**
@@ -392,7 +392,7 @@  discard block
 block discarded – undo
392 392
      */
393 393
     public function relativeCurrentUrl($path)
394 394
     {
395
-        return \Route::current() ? \Route::current()->getPrefix().'/'.$path : null;
395
+        return \Route::current() ? \Route::current()->getPrefix() . '/' . $path : null;
396 396
     }
397 397
 
398 398
     /**
Please login to merge, or discard this patch.
src/Flare/Admin/Models/ModelAdminController.php 2 patches
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -113,7 +113,7 @@  discard block
 block discarded – undo
113 113
     {
114 114
         $this->modelAdmin->create();
115 115
 
116
-        return redirect($this->modelAdmin->currentUrl())->with('notifications_below_header', [['type' => 'success', 'icon' => 'check-circle', 'title' => 'Success!', 'message' => 'The '.$this->modelAdmin->getTitle().' was successfully created.', 'dismissable' => false]]);
116
+        return redirect($this->modelAdmin->currentUrl())->with('notifications_below_header', [['type' => 'success', 'icon' => 'check-circle', 'title' => 'Success!', 'message' => 'The ' . $this->modelAdmin->getTitle() . ' was successfully created.', 'dismissable' => false]]);
117 117
     }
118 118
 
119 119
     /**
@@ -155,7 +155,7 @@  discard block
 block discarded – undo
155 155
     {
156 156
         $this->modelAdmin->edit($modelitem_id);
157 157
 
158
-        return redirect($this->modelAdmin->currentUrl())->with('notifications_below_header', [['type' => 'success', 'icon' => 'check-circle', 'title' => 'Success!', 'message' => 'The '.$this->modelAdmin->getTitle().' was successfully updated.', 'dismissable' => false]]);
158
+        return redirect($this->modelAdmin->currentUrl())->with('notifications_below_header', [['type' => 'success', 'icon' => 'check-circle', 'title' => 'Success!', 'message' => 'The ' . $this->modelAdmin->getTitle() . ' was successfully updated.', 'dismissable' => false]]);
159 159
     }
160 160
 
161 161
     /**
@@ -187,7 +187,7 @@  discard block
 block discarded – undo
187 187
     {
188 188
         $this->modelAdmin->delete($modelitem_id);
189 189
 
190
-        return redirect($this->modelAdmin->currentUrl())->with('notifications_below_header', [['type' => 'success', 'icon' => 'check-circle', 'title' => 'Success!', 'message' => 'The '.$this->modelAdmin->getTitle().' was successfully removed.', 'dismissable' => false]]);
190
+        return redirect($this->modelAdmin->currentUrl())->with('notifications_below_header', [['type' => 'success', 'icon' => 'check-circle', 'title' => 'Success!', 'message' => 'The ' . $this->modelAdmin->getTitle() . ' was successfully removed.', 'dismissable' => false]]);
191 191
     }
192 192
 
193 193
     /**
@@ -213,7 +213,7 @@  discard block
 block discarded – undo
213 213
     {
214 214
         $this->modelAdmin->findOnlyTrashed($modelitem_id)->restore();
215 215
 
216
-        return redirect($this->modelAdmin->currentUrl())->with('notifications_below_header', [['type' => 'success', 'icon' => 'check-circle', 'title' => 'Success!', 'message' => 'The '.$this->modelAdmin->getTitle().' was successfully restored.', 'dismissable' => false]]);
216
+        return redirect($this->modelAdmin->currentUrl())->with('notifications_below_header', [['type' => 'success', 'icon' => 'check-circle', 'title' => 'Success!', 'message' => 'The ' . $this->modelAdmin->getTitle() . ' was successfully restored.', 'dismissable' => false]]);
217 217
     }
218 218
 
219 219
     /**
@@ -227,6 +227,6 @@  discard block
 block discarded – undo
227 227
     {
228 228
         $this->modelAdmin->find($modelitem_id)->replicate($this->modelAdmin->excludeOnClone())->save();
229 229
 
230
-        return redirect($this->modelAdmin->currentUrl())->with('notifications_below_header', [['type' => 'success', 'icon' => 'check-circle', 'title' => 'Success!', 'message' => 'The '.$this->modelAdmin->getTitle().' was successfully cloned.', 'dismissable' => false]]);
230
+        return redirect($this->modelAdmin->currentUrl())->with('notifications_below_header', [['type' => 'success', 'icon' => 'check-circle', 'title' => 'Success!', 'message' => 'The ' . $this->modelAdmin->getTitle() . ' was successfully cloned.', 'dismissable' => false]]);
231 231
     }
232 232
 }
Please login to merge, or discard this patch.
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -237,7 +237,6 @@
 block discarded – undo
237 237
     /**
238 238
      * Process Restore ModelItem Request.
239 239
      *
240
-     * @param int $page_id
241 240
      * 
242 241
      * @return \Illuminate\Http\RedirectResponse
243 242
      */
Please login to merge, or discard this patch.
src/Flare/Admin/Modules/ModuleAdmin.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -40,16 +40,16 @@
 block discarded – undo
40 40
             return $this->view;
41 41
         }
42 42
 
43
-        if (view()->exists('admin.'.$this->urlPrefix().'.index')) {
44
-            return 'admin.'.$this->urlPrefix().'.index';
43
+        if (view()->exists('admin.' . $this->urlPrefix() . '.index')) {
44
+            return 'admin.' . $this->urlPrefix() . '.index';
45 45
         }
46 46
 
47
-        if (view()->exists('admin.'.$this->urlPrefix())) {
48
-            return 'admin.'.$this->urlPrefix();
47
+        if (view()->exists('admin.' . $this->urlPrefix())) {
48
+            return 'admin.' . $this->urlPrefix();
49 49
         }
50 50
 
51
-        if (view()->exists('flare::'.$this->view)) {
52
-            return 'flare::'.$this->view;
51
+        if (view()->exists('flare::' . $this->view)) {
52
+            return 'flare::' . $this->view;
53 53
         }
54 54
 
55 55
         return parent::getView();
Please login to merge, or discard this patch.
AdminLTE/plugins/datatables/extensions/Scroller/examples/data/ssp.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -29,11 +29,11 @@
 block discarded – undo
29 29
 // parameter represents the DataTables column identifier. In this case simple
30 30
 // indexes
31 31
 $columns = array(
32
-    array('db' => 'id',         'dt' => 0),
33
-    array('db' => 'firstname',  'dt' => 1),
34
-    array('db' => 'surname',    'dt' => 2),
35
-    array('db' => 'zip',        'dt' => 3),
36
-    array('db' => 'country',    'dt' => 4),
32
+    array('db' => 'id', 'dt' => 0),
33
+    array('db' => 'firstname', 'dt' => 1),
34
+    array('db' => 'surname', 'dt' => 2),
35
+    array('db' => 'zip', 'dt' => 3),
36
+    array('db' => 'country', 'dt' => 4),
37 37
 );
38 38
 
39 39
 // SQL server connection information
Please login to merge, or discard this patch.
src/Flare/Admin/Models/AttributeCollection.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -33,6 +33,7 @@
 block discarded – undo
33 33
      * Create a new collection.
34 34
      *
35 35
      * @param mixed $items
36
+     * @param ModelAdmin $modelManager
36 37
      */
37 38
     public function __construct($items = [], $modelManager = null)
38 39
     {
Please login to merge, or discard this patch.