Completed
Push — master ( df0d81...8f4d7f )
by Alex
01:02 queued 10s
created
src/Models/MetadataTrait.php 1 patch
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -249,17 +249,17 @@
 block discarded – undo
249 249
                             throw new InvalidOperationException($msg);
250 250
                         }
251 251
                         foreach ([
252
-                                     'hasMany',
253
-                                     'hasManyThrough',
254
-                                     'belongsToMany',
255
-                                     'hasOne',
256
-                                     'belongsTo',
257
-                                     'morphOne',
258
-                                     'morphTo',
259
-                                     'morphMany',
260
-                                     'morphToMany',
261
-                                     'morphedByMany'
262
-                                 ] as $relation) {
252
+                                        'hasMany',
253
+                                        'hasManyThrough',
254
+                                        'belongsToMany',
255
+                                        'hasOne',
256
+                                        'belongsTo',
257
+                                        'morphOne',
258
+                                        'morphTo',
259
+                                        'morphMany',
260
+                                        'morphToMany',
261
+                                        'morphedByMany'
262
+                                    ] as $relation) {
263 263
                             $search = '$this->' . $relation . '(';
264 264
                             if (stripos(/* @scrutinizer ignore-type */$code, $search)) {
265 265
                                 //Resolve the relation's model to a Relation object.
Please login to merge, or discard this patch.