File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -100,7 +100,7 @@ private function buildTree(int $parent = null): array|Collection
100100 }
101101
102102 // If the key is not set, return an empty array.
103- if (!isset ($ key )) {
103+ if (! isset ($ key )) {
104104 return [];
105105 }
106106
@@ -109,7 +109,7 @@ private function buildTree(int $parent = null): array|Collection
109109 ->where ($ key , $ parent );
110110
111111 // If we're not at the root level and a modification callback is provided, apply it to the query.
112- if (!$ parent && $ this ->modifyQueryUsing ) {
112+ if (! $ parent && $ this ->modifyQueryUsing ) {
113113 $ defaultQuery = $ this ->evaluate ($ this ->modifyQueryUsing , ['query ' => $ defaultQuery ]);
114114 }
115115
@@ -131,7 +131,7 @@ private function buildTree(int $parent = null): array|Collection
131131 });
132132 }
133133
134- public function relationship (string $ relationship , string $ titleAttribute , ? Closure $ modifyQueryUsing = null ): self
134+ public function relationship (string $ relationship , string $ titleAttribute , Closure $ modifyQueryUsing = null ): self
135135 {
136136 $ this ->relationship = $ relationship ;
137137 $ this ->titleAttribute = $ titleAttribute ;
You can’t perform that action at this time.
0 commit comments