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

Passed
Push — theme-fallbacks ( c9fa1a...599c32 )
by Cristian
39:12 queued 24:14
created
src/app/Library/Widget.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -157,7 +157,7 @@  discard block
 block discarded – undo
157 157
             }
158 158
         }
159 159
         $type = $this->type;
160
-        $paths = array_map(function ($item) use ($type) {
160
+        $paths = array_map(function($item) use ($type) {
161 161
             return $item.'.'.$type;
162 162
         }, ViewNamespaces::getWithFallbackFor('widgets', 'backpack.ui.component_view_namespaces.widgets'));
163 163
 
@@ -167,7 +167,7 @@  discard block
 block discarded – undo
167 167
             }
168 168
         }
169 169
         // if no view exists, in any of the directories above... no bueno
170
-        if (! backpack_pro()) {
170
+        if (!backpack_pro()) {
171 171
             throw new BackpackProRequiredException('Cannot find the widget view: '.$this->type.'. Please check for typos.'.(backpack_pro() ? '' : ' If you are trying to use a PRO widget, please first purchase and install the backpack/pro addon from backpackforlaravel.com'), 1);
172 172
         }
173 173
         abort(500, 'Cannot find the view for «'.$this->type.'» widget type. Please check for typos.');
@@ -253,7 +253,7 @@  discard block
 block discarded – undo
253 253
     {
254 254
         $itemExists = $this->collection()->contains('name', $this->attributes['name']);
255 255
 
256
-        if (! $itemExists) {
256
+        if (!$itemExists) {
257 257
             $this->collection()->put($this->attributes['name'], $this);
258 258
         } else {
259 259
             $this->collection()[$this->name] = $this;
Please login to merge, or discard this patch.