From eda3e8241e17fb576c4c02e20926627e6e408bf7 Mon Sep 17 00:00:00 2001 From: CodeWithDennis Date: Wed, 20 Sep 2023 11:17:58 +0000 Subject: [PATCH] Fix styling --- src/SelectTree.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SelectTree.php b/src/SelectTree.php index eb7ca89..1f92df8 100644 --- a/src/SelectTree.php +++ b/src/SelectTree.php @@ -86,7 +86,7 @@ private function buildTree(int $parent = null): array|Collection ->where($this->getParentAttribute(), $parent); // If we're not at the root level and a modification callback is provided, apply it to the query. - if (!$parent && $this->modifyQueryUsing) { + if (! $parent && $this->modifyQueryUsing) { $defaultQuery = $this->evaluate($this->modifyQueryUsing, ['query' => $defaultQuery]); }