Completed
Pull Request — master (#1695)
by Flavio
03:29 queued 29s
created
src/Form/Field/HasMany.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -333,7 +333,7 @@
 block discarded – undo
333 333
 
334 334
         $relation = call_user_func([$model, $this->relationName]);
335 335
 
336
-          if (!$relation instanceof Relation
336
+            if (!$relation instanceof Relation
337 337
             && !$relation instanceof MorphMany
338 338
             && !$relation instanceof BelongsToMany) {
339 339
             throw new \Exception('hasMany field must be a HasMany or MorphMany relation.');
Please login to merge, or discard this patch.