From 83a355cf632e78512078ed858838b5beef26eb44 Mon Sep 17 00:00:00 2001 From: Lupacescu Eduard Date: Tue, 12 May 2020 07:58:34 +0000 Subject: [PATCH] Apply fixes from StyleCI --- src/Http/Requests/InteractWithRepositories.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Http/Requests/InteractWithRepositories.php b/src/Http/Requests/InteractWithRepositories.php index 4b3f77c2a..991f2cee9 100644 --- a/src/Http/Requests/InteractWithRepositories.php +++ b/src/Http/Requests/InteractWithRepositories.php @@ -156,7 +156,7 @@ public function viaParentModel() { $parent = $this->repository($this->viaRepository); - return once(fn() => $parent::newModel()->newQueryWithoutScopes()->whereKey($this->viaRepositoryId)->firstOrFail()); + return once(fn () => $parent::newModel()->newQueryWithoutScopes()->whereKey($this->viaRepositoryId)->firstOrFail()); } public function viaQuery()