From 8308d5e6ee9f534efdf936a473c2c5790ac7024a Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Fri, 21 Jun 2024 09:29:04 +0000 Subject: [PATCH] Apply fixes from StyleCI --- src/Foundation/Search/ProductSearch.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Foundation/Search/ProductSearch.php b/src/Foundation/Search/ProductSearch.php index f3e7f373..1ac99430 100644 --- a/src/Foundation/Search/ProductSearch.php +++ b/src/Foundation/Search/ProductSearch.php @@ -90,7 +90,6 @@ public function withinTaxon(Taxon $taxon): self }); if (null !== $this->variantQuery) { - } return $this; @@ -342,7 +341,7 @@ public function getSearcher(string|array $columns = null): Searcher return $this->searcher ->add($this->productQuery, $columns, $orderBy) ->add($this->masterProductQuery, $columns, $orderBy) - ->when(null !== $this->variantQuery, fn($search) => $search->add($this->variantQuery)); + ->when(null !== $this->variantQuery, fn ($search) => $search->add($this->variantQuery)); } public function simplePaginate(int $perPage = 15, array $columns = ['*'], string $pageName = 'page', int $page = null): Paginator