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
318318        return  $ this 
319319    }
320320
321-     public  function  append (Closure array |null  $ appendnull ): static 
321+     public  function  append (Closure array |null  $ appendnull ): static 
322+     {
322323        $ this append  = $ this evaluate ($ append
323324
324325        if  (is_array ($ this append ) && isset ($ this append ['name ' ], $ this append ['value ' ])) {
@@ -437,8 +438,8 @@ public function storeResults(bool $storeResults = true): static
437438    public  function  getTree (): Collection array 
438439    {
439440        return  $ this evaluate ($ this buildTree ()
440-             ->when ($ this prepend , fn (Collection $ tree$ treeprepend ($ this evaluate ($ this prepend )))
441-             ->when ($ this append , fn (Collection $ tree$ treepush ($ this evaluate ($ this append )))
441+             ->when ($ this prepend , fn   (Collection $ tree$ treeprepend ($ this evaluate ($ this prepend )))
442+             ->when ($ this append , fn   (Collection $ tree$ treepush ($ this evaluate ($ this append )))
442443        );
443444    }
444445
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments