File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -146,7 +146,7 @@ private function buildTree(int $parent = null): array|Collection
146146 }
147147
148148 // Check if the treeModel is not set; if yes, return an empty collection.
149- if (!$ this ->treeModel ) {
149+ if (! $ this ->treeModel ) {
150150 return collect ();
151151 }
152152
@@ -155,7 +155,7 @@ private function buildTree(int $parent = null): array|Collection
155155 ->where ($ this ->treeParentKey , $ parent );
156156
157157 // If we're not at the root level and a modification callback is provided, apply it.
158- if (!$ parent && $ this ->modifyQueryUsing ) {
158+ if (! $ parent && $ this ->modifyQueryUsing ) {
159159 $ defaultQuery = $ this ->evaluate ($ this ->modifyQueryUsing , ['query ' => $ defaultQuery ]);
160160 }
161161
@@ -176,5 +176,4 @@ private function buildTree(int $parent = null): array|Collection
176176 ];
177177 });
178178 }
179-
180179}
You can’t perform that action at this time.
0 commit comments