Test Failed
Pull Request — master (#85)
by Alex
06:31
created
src/Models/MetadataTrait.php 1 patch
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -301,17 +301,17 @@
 block discarded – undo
301 301
                         $lastCode = $code[strlen($code) - 1];
302 302
                         assert('}' == $lastCode, 'Final character of function definition must be closing brace');
303 303
                         foreach ([
304
-                                     'hasMany',
305
-                                     'hasManyThrough',
306
-                                     'belongsToMany',
307
-                                     'hasOne',
308
-                                     'belongsTo',
309
-                                     'morphOne',
310
-                                     'morphTo',
311
-                                     'morphMany',
312
-                                     'morphToMany',
313
-                                     'morphedByMany'
314
-                                 ] as $relation) {
304
+                                        'hasMany',
305
+                                        'hasManyThrough',
306
+                                        'belongsToMany',
307
+                                        'hasOne',
308
+                                        'belongsTo',
309
+                                        'morphOne',
310
+                                        'morphTo',
311
+                                        'morphMany',
312
+                                        'morphToMany',
313
+                                        'morphedByMany'
314
+                                    ] as $relation) {
315 315
                             $search = '$this->' . $relation . '(';
316 316
                             if ($pos = stripos($code, $search)) {
317 317
                                 //Resolve the relation's model to a Relation object.
Please login to merge, or discard this patch.