Scrutinizer GitHub App not installed

We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.

Install GitHub App

Completed
Pull Request — master (#1556)
by Thomas
07:32
created
src/PanelTraits/Buttons.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
 
62 62
     public function addButtonFromView($stack, $name, $view, $position = false)
63 63
     {
64
-        if (! view()->exists($view)) {
64
+        if (!view()->exists($view)) {
65 65
             $view = 'crud::buttons.'.$view;
66 66
         }
67 67
 
@@ -99,7 +99,7 @@  discard block
 block discarded – undo
99 99
     {
100 100
         $button = $this->buttons()->firstWhere('name', $name);
101 101
 
102
-        if (! $button) {
102
+        if (!$button) {
103 103
             abort(500, 'CRUD Button "'.$name.'" not found. Please check the button exists before you modify it.');
104 104
         }
105 105
 
@@ -120,7 +120,7 @@  discard block
 block discarded – undo
120 120
      */
121 121
     public function removeButton($name, $stack = null)
122 122
     {
123
-        $this->buttons = $this->buttons->reject(function ($button) use ($name, $stack) {
123
+        $this->buttons = $this->buttons->reject(function($button) use ($name, $stack) {
124 124
             return $stack == null ? $button->name == $name : ($button->stack == $stack) && ($button->name == $name);
125 125
         });
126 126
     }
@@ -132,14 +132,14 @@  discard block
 block discarded – undo
132 132
 
133 133
     public function removeAllButtonsFromStack($stack)
134 134
     {
135
-        $this->buttons = $this->buttons->reject(function ($button) use ($stack) {
135
+        $this->buttons = $this->buttons->reject(function($button) use ($stack) {
136 136
             return $button->stack == $stack;
137 137
         });
138 138
     }
139 139
 
140 140
     public function removeButtonFromStack($name, $stack)
141 141
     {
142
-        $this->buttons = $this->buttons->reject(function ($button) use ($name, $stack) {
142
+        $this->buttons = $this->buttons->reject(function($button) use ($name, $stack) {
143 143
             return $button->name == $name && $button->stack == $stack;
144 144
         });
145 145
     }
Please login to merge, or discard this patch.