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 — field-column-type ( 6ba61a...c0f245 )
by
unknown
13:45
created
src/app/Library/CrudPanel/Traits/Columns.php 1 patch
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -113,7 +113,7 @@  discard block
 block discarded – undo
113 113
      */
114 114
     public function makeFirstColumn()
115 115
     {
116
-        if (! $this->columns()) {
116
+        if (!$this->columns()) {
117 117
             return false;
118 118
         }
119 119
 
@@ -157,7 +157,7 @@  discard block
 block discarded – undo
157 157
      */
158 158
     public function removeColumns($columns)
159 159
     {
160
-        if (! empty($columns)) {
160
+        if (!empty($columns)) {
161 161
             foreach ($columns as $columnKey) {
162 162
                 $this->removeColumn($columnKey);
163 163
             }
@@ -251,8 +251,8 @@  discard block
 block discarded – undo
251 251
     {
252 252
         $columns = $this->columns();
253 253
 
254
-        return collect($columns)->pluck('entity')->reject(function ($value, $key) {
255
-            return ! $value;
254
+        return collect($columns)->pluck('entity')->reject(function($value, $key) {
255
+            return !$value;
256 256
         })->toArray();
257 257
     }
258 258
 
@@ -326,7 +326,7 @@  discard block
 block discarded – undo
326 326
      */
327 327
     public function hasColumnWhere($attribute, $value)
328 328
     {
329
-        $match = Arr::first($this->columns(), function ($column, $columnKey) use ($attribute, $value) {
329
+        $match = Arr::first($this->columns(), function($column, $columnKey) use ($attribute, $value) {
330 330
             return isset($column[$attribute]) && $column[$attribute] == $value;
331 331
         });
332 332
 
@@ -342,7 +342,7 @@  discard block
 block discarded – undo
342 342
      */
343 343
     public function firstColumnWhere($attribute, $value)
344 344
     {
345
-        return Arr::first($this->columns(), function ($column, $columnKey) use ($attribute, $value) {
345
+        return Arr::first($this->columns(), function($column, $columnKey) use ($attribute, $value) {
346 346
             return isset($column[$attribute]) && $column[$attribute] == $value;
347 347
         });
348 348
     }
@@ -374,7 +374,7 @@  discard block
 block discarded – undo
374 374
 
375 375
         // if there's a model defined, but no attribute
376 376
         // guess an attribute using the identifiableAttribute functionality in CrudTrait
377
-        if (isset($column['model']) && ! isset($column['attribute']) && method_exists($column['model'], 'identifiableAttribute')) {
377
+        if (isset($column['model']) && !isset($column['attribute']) && method_exists($column['model'], 'identifiableAttribute')) {
378 378
             $column['attribute'] = (new $column['model'])->identifiableAttribute();
379 379
         }
380 380
 
@@ -399,8 +399,8 @@  discard block
 block discarded – undo
399 399
      */
400 400
     public function countColumnsWithoutActions()
401 401
     {
402
-        return collect($this->columns())->filter(function ($column, $key) {
403
-            return ! isset($column['hasActions']) || $column['hasActions'] == false;
402
+        return collect($this->columns())->filter(function($column, $key) {
403
+            return !isset($column['hasActions']) || $column['hasActions'] == false;
404 404
         })->count();
405 405
     }
406 406
 
Please login to merge, or discard this patch.