File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -318,7 +318,8 @@ public function prepend(Closure|array|null $prepend = null): static
318
318
return $ this ;
319
319
}
320
320
321
- public function append (Closure |array |null $ append = null ): static {
321
+ public function append (Closure |array |null $ append = null ): static
322
+ {
322
323
$ this ->append = $ this ->evaluate ($ append );
323
324
324
325
if (is_array ($ this ->append ) && isset ($ this ->append ['name ' ], $ this ->append ['value ' ])) {
@@ -437,8 +438,8 @@ public function storeResults(bool $storeResults = true): static
437
438
public function getTree (): Collection |array
438
439
{
439
440
return $ this ->evaluate ($ this ->buildTree ()
440
- ->when ($ this ->prepend , fn (Collection $ tree ) => $ tree ->prepend ($ this ->evaluate ($ this ->prepend )))
441
- ->when ($ this ->append , fn (Collection $ tree ) => $ tree ->push ($ this ->evaluate ($ this ->append )))
441
+ ->when ($ this ->prepend , fn (Collection $ tree ) => $ tree ->prepend ($ this ->evaluate ($ this ->prepend )))
442
+ ->when ($ this ->append , fn (Collection $ tree ) => $ tree ->push ($ this ->evaluate ($ this ->append )))
442
443
);
443
444
}
444
445
You can’t perform that action at this time.
0 commit comments