Passed
Pull Request — master (#201)
by Alex
11:45 queued 04:19
created
src/Models/MetadataTrait.php 1 patch
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -253,17 +253,17 @@
 block discarded – undo
253 253
                     throw new InvalidOperationException($msg);
254 254
                 }
255 255
                 foreach ([
256
-                             'hasMany',
257
-                             'hasManyThrough',
258
-                             'belongsToMany',
259
-                             'hasOne',
260
-                             'belongsTo',
261
-                             'morphOne',
262
-                             'morphTo',
263
-                             'morphMany',
264
-                             'morphToMany',
265
-                             'morphedByMany'
266
-                         ] as $relation) {
256
+                                'hasMany',
257
+                                'hasManyThrough',
258
+                                'belongsToMany',
259
+                                'hasOne',
260
+                                'belongsTo',
261
+                                'morphOne',
262
+                                'morphTo',
263
+                                'morphMany',
264
+                                'morphToMany',
265
+                                'morphedByMany'
266
+                            ] as $relation) {
267 267
                     $search = '$this->' . $relation . '(';
268 268
                     $found = stripos(/** @scrutinizer ignore-type */$code, $search);
269 269
                     if (!$found) {
Please login to merge, or discard this patch.