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 ( 151d6f...d20332 )
by Aden
03:17
created
src/Flare/Admin/Attributes/AttributeCollection.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
44 44
      * Attempt to reformat the current attribute items array
45 45
      * into the most usable format (an Attribute Collection).
46 46
      * 
47
-     * @return void
47
+     * @return AttributeCollection
48 48
      */
49 49
     public function formatFields()
50 50
     {
Please login to merge, or discard this patch.
src/Flare/Admin/Attributes/AttributeManager.php 2 patches
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,6 @@
 block discarded – undo
8 8
      * Create a new Attribute Instance 
9 9
      * 
10 10
      * @param string $type
11
-     * @param string $action
12 11
      * @param string $attribute
13 12
      * @param string $field
14 13
      * @param string $model
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
             throw new \Exception('Attribute Field Type cannot be empty or undefined.');
43 43
         }
44 44
 
45
-        return call_user_func_array([$this->createAttribute($field['type'], $action, $attribute, $field, $model, $modelManager), camel_case('render_'.$action)], []);
45
+        return call_user_func_array([$this->createAttribute($field['type'], $action, $attribute, $field, $model, $modelManager), camel_case('render_' . $action)], []);
46 46
     }
47 47
 
48 48
     /**
Please login to merge, or discard this patch.
src/Flare/Admin/Models/ModelAdmin.php 1 patch
Doc Comments   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -393,7 +393,7 @@  discard block
 block discarded – undo
393 393
     /**
394 394
      * Format the provided Attribute Fields into a more usable format.
395 395
      * 
396
-     * @return void
396
+     * @return AttributeCollection
397 397
      */
398 398
     protected function formatFields()
399 399
     {
@@ -419,7 +419,7 @@  discard block
 block discarded – undo
419 419
     /**
420 420
      * Determine if the Model Admin has Viewing Capabilities.
421 421
      * 
422
-     * @return bool
422
+     * @return null|boolean
423 423
      */
424 424
     public function hasViewing()
425 425
     {
@@ -429,7 +429,7 @@  discard block
 block discarded – undo
429 429
     /**
430 430
      * Determine if the Model Admin has Creating Capabilities.
431 431
      * 
432
-     * @return bool
432
+     * @return null|boolean
433 433
      */
434 434
     public function hasCreating()
435 435
     {
@@ -439,7 +439,7 @@  discard block
 block discarded – undo
439 439
     /**
440 440
      * Determine if the Model Admin has Cloning Capabilities.
441 441
      * 
442
-     * @return bool
442
+     * @return null|boolean
443 443
      */
444 444
     public function hasCloning()
445 445
     {
@@ -449,7 +449,7 @@  discard block
 block discarded – undo
449 449
     /**
450 450
      * Determine if the Model Admin has Editting Capabilities.
451 451
      * 
452
-     * @return bool
452
+     * @return null|boolean
453 453
      */
454 454
     public function hasEditting()
455 455
     {
@@ -459,7 +459,7 @@  discard block
 block discarded – undo
459 459
     /**
460 460
      * Determine if the Model Admin has Deleting Capabilities.
461 461
      * 
462
-     * @return bool
462
+     * @return null|boolean
463 463
      */
464 464
     public function hasDeleting()
465 465
     {
@@ -492,7 +492,7 @@  discard block
 block discarded – undo
492 492
     /**
493 493
      * Determine if the Model Admin has Validating Capabilities.
494 494
      * 
495
-     * @return bool
495
+     * @return null|boolean
496 496
      */
497 497
     public function hasValidating()
498 498
     {
@@ -514,7 +514,7 @@  discard block
 block discarded – undo
514 514
      * 
515 515
      * @param  string  $trait  
516 516
      * 
517
-     * @return boolean        
517
+     * @return null|boolean        
518 518
      */
519 519
     public function hasTrait($trait = null)
520 520
     {
@@ -530,7 +530,7 @@  discard block
 block discarded – undo
530 530
      * 
531 531
      * @param  string  $contract  
532 532
      * 
533
-     * @return boolean        
533
+     * @return boolean|null        
534 534
      */
535 535
     public function hasContract($contract = null)
536 536
     {
Please login to merge, or discard this patch.
src/Flare/Admin/Attributes/BaseAttribute.php 1 patch
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
      */
75 75
     public function render($view = false)
76 76
     {
77
-        if (method_exists($this, $method = 'render'.ucfirst($view))) {
77
+        if (method_exists($this, $method = 'render' . ucfirst($view))) {
78 78
             return new HtmlString(
79 79
                 call_user_func_array([$this, $method], [])
80 80
             );
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
      */
89 89
     public function renderAdd()
90 90
     {
91
-        return view($this->viewpath.'.add', $this->viewData());
91
+        return view($this->viewpath . '.add', $this->viewData());
92 92
     }
93 93
 
94 94
     /**
@@ -98,7 +98,7 @@  discard block
 block discarded – undo
98 98
      */
99 99
     public function renderEdit()
100 100
     {
101
-        return view($this->viewpath.'.edit', $this->viewData());
101
+        return view($this->viewpath . '.edit', $this->viewData());
102 102
     }
103 103
 
104 104
     /**
@@ -108,11 +108,11 @@  discard block
 block discarded – undo
108 108
      */
109 109
     public function renderClone()
110 110
     {
111
-        if (view()->exists($this->viewpath.'.clone')) {
112
-            view($this->viewpath.'.clone', $this->viewData());
111
+        if (view()->exists($this->viewpath . '.clone')) {
112
+            view($this->viewpath . '.clone', $this->viewData());
113 113
         }
114 114
 
115
-        return view($this->viewpath.'.edit', $this->viewData());
115
+        return view($this->viewpath . '.edit', $this->viewData());
116 116
     }
117 117
 
118 118
     /**
@@ -122,7 +122,7 @@  discard block
 block discarded – undo
122 122
      */
123 123
     public function renderView()
124 124
     {
125
-        return view($this->viewpath.'.view', $this->viewData());
125
+        return view($this->viewpath . '.view', $this->viewData());
126 126
     }
127 127
 
128 128
     /**
@@ -152,10 +152,10 @@  discard block
 block discarded – undo
152 152
      */
153 153
     public function getFieldOptions()
154 154
     {
155
-        if (method_exists($this->getModelManager(), $method = camel_case('get_'.$this->getAttribute().'_options'))) {
155
+        if (method_exists($this->getModelManager(), $method = camel_case('get_' . $this->getAttribute() . '_options'))) {
156 156
             // First check for a method of options based on getAttributeNameOptions()
157 157
             $this->field['options'] = $this->getModelManager()->$method();
158
-        } elseif (isset($this->field['options']) && is_string($this->field['options']) && method_exists($this->getModelManager(), $method = camel_case('get_'.$this->field['options'].'_options'))) {
158
+        } elseif (isset($this->field['options']) && is_string($this->field['options']) && method_exists($this->getModelManager(), $method = camel_case('get_' . $this->field['options'] . '_options'))) {
159 159
             // Check if Options is a string and if so, check for a method
160 160
             // of options based on getDefinedOptions()
161 161
             $this->field['options'] = $this->getModelManager()->$method();
Please login to merge, or discard this patch.