Test Failed
Pull Request — master (#37)
by Christopher
03:29
created
src/Models/MetadataTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -255,7 +255,7 @@
 block discarded – undo
255 255
                                 $relations = ['hasManyThrough', 'belongsToMany', 'hasMany', 'morphMany', 'morphToMany'];
256 256
                                 if (in_array($relation, $relations)) {
257 257
                                     //Collection or array of models (because Collection is Arrayable)
258
-                                    $relationships["HasMany"][$method] =  $relatedModel;
258
+                                    $relationships["HasMany"][$method] = $relatedModel;
259 259
                                 } elseif ($relation === "morphTo") {
260 260
                                     // Model isn't specified because relation is polymorphic
261 261
                                     $relationships["UnknownPolyMorphSide"][$method] =
Please login to merge, or discard this patch.