From c72c12dfa31d43b16bc4562f2d8b4ea017913616 Mon Sep 17 00:00:00 2001 From: Lupacescu Eduard Date: Sun, 26 Jul 2020 10:45:12 +0000 Subject: [PATCH] Apply fixes from StyleCI --- src/Fields/HasMany.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Fields/HasMany.php b/src/Fields/HasMany.php index a4a5f7d0f..34ef44fa2 100644 --- a/src/Fields/HasMany.php +++ b/src/Fields/HasMany.php @@ -15,7 +15,7 @@ public function storeForParent(RestifyRequest $request, Model $parent): self if (is_callable($this->storeForParentCallback)) { call_user_func_array($this->storeForParentCallback, [ $request, - $parent + $parent, ]); return $this; @@ -41,4 +41,3 @@ public function storeForParentCallback(callable $callback) return $this; } } -