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 (#15)
by
unknown
03:17
created
src/Crud.php 1 patch
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -122,7 +122,7 @@  discard block
 block discarded – undo
122 122
                         if(isset($data[$relation])){
123 123
                             $model->{$relation}()->sync($data[$relation]);
124 124
                         }else{
125
-                             $model->{$relation}()->sync([]);
125
+                                $model->{$relation}()->sync([]);
126 126
                         }
127 127
                     }
128 128
                 }else{
@@ -131,9 +131,9 @@  discard block
 block discarded – undo
131 131
 
132 132
                 if( isset($relation['pivotFields']) ){
133 133
                     foreach($relation['pivotFields'] as $pivotField){
134
-                       foreach($data[$pivotField] as $pivot_id =>  $field){
135
-                         $model->{$relation['name']}()->updateExistingPivot($pivot_id, [$pivotField => $field]);
136
-                       }
134
+                        foreach($data[$pivotField] as $pivot_id =>  $field){
135
+                            $model->{$relation['name']}()->updateExistingPivot($pivot_id, [$pivotField => $field]);
136
+                        }
137 137
                     }
138 138
                 }
139 139
             }
@@ -175,7 +175,7 @@  discard block
 block discarded – undo
175 175
     }
176 176
 
177 177
 
178
-   /*
178
+    /*
179 179
     |--------------------------------------------------------------------------
180 180
     |                                   READ
181 181
     |--------------------------------------------------------------------------
@@ -257,7 +257,7 @@  discard block
 block discarded – undo
257 257
 
258 258
 
259 259
 
260
-   /*
260
+    /*
261 261
     |--------------------------------------------------------------------------
262 262
     |                                   UPDATE
263 263
     |--------------------------------------------------------------------------
@@ -322,7 +322,7 @@  discard block
 block discarded – undo
322 322
 
323 323
 
324 324
 
325
-   /*
325
+    /*
326 326
     |--------------------------------------------------------------------------
327 327
     |                                   DELETE
328 328
     |--------------------------------------------------------------------------
@@ -413,7 +413,7 @@  discard block
 block discarded – undo
413 413
 
414 414
 
415 415
 
416
-   /*
416
+    /*
417 417
     |--------------------------------------------------------------------------
418 418
     |                                   CRUD ACCESS
419 419
     |--------------------------------------------------------------------------
@@ -842,7 +842,7 @@  discard block
 block discarded – undo
842 842
 
843 843
             if (!in_array($field, $this->model->getHidden()))
844 844
             {
845
-                 $this->columns[] = [
845
+                    $this->columns[] = [
846 846
                                     'name' => $field,
847 847
                                     'label' => ucfirst($field),
848 848
                                     'type' => $this->getFieldTypeFromDbColumnType($field)
@@ -1210,10 +1210,10 @@  discard block
 block discarded – undo
1210 1210
 
1211 1211
     public function addCreateField($field)
1212 1212
     {
1213
-       return $this->add('create_fields', $field);
1213
+        return $this->add('create_fields', $field);
1214 1214
     }
1215 1215
 
1216
-     public function setUpdateFields($fields)
1216
+        public function setUpdateFields($fields)
1217 1217
     {
1218 1218
         $this->addMultiple('update_fields', $fields);
1219 1219
     }
Please login to merge, or discard this patch.