Passed
Pull Request — master (#153)
by Alex
06:44
created
src/Models/MetadataTrait.php 1 patch
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -238,17 +238,17 @@
 block discarded – undo
238 238
                         $lastCode = $code[strlen($code)-1];
239 239
                         assert('}' == $lastCode, 'Final character of function definition must be closing brace');
240 240
                         foreach ([
241
-                                     'hasMany',
242
-                                     'hasManyThrough',
243
-                                     'belongsToMany',
244
-                                     'hasOne',
245
-                                     'belongsTo',
246
-                                     'morphOne',
247
-                                     'morphTo',
248
-                                     'morphMany',
249
-                                     'morphToMany',
250
-                                     'morphedByMany'
251
-                                 ] as $relation) {
241
+                                        'hasMany',
242
+                                        'hasManyThrough',
243
+                                        'belongsToMany',
244
+                                        'hasOne',
245
+                                        'belongsTo',
246
+                                        'morphOne',
247
+                                        'morphTo',
248
+                                        'morphMany',
249
+                                        'morphToMany',
250
+                                        'morphedByMany'
251
+                                    ] as $relation) {
252 252
                             $search = '$this->' . $relation . '(';
253 253
                             if (stripos($code, $search)) {
254 254
                                 //Resolve the relation's model to a Relation object.
Please login to merge, or discard this patch.