|  | @@ -287,7 +287,7 @@  discard block | 
                                                    
                                                        |  |  |  block discarded – undo | 
                                                                                                                                                                                                                    
                                                            | 287 | 287 |   | 
                                                                                                            
                                                            | 288 | 288 |          curl_setopt($this->curl, CURLOPT_CUSTOMREQUEST, 'SITE CHMOD '.$mode.' '.$this->normalizePath($path)); | 
                                                                                                            
                                                            | 289 | 289 |          $response = ''; | 
                                                                                                            
                                                            | 290 |  | -        curl_setopt($this->curl, CURLOPT_HEADERFUNCTION, function ($ch, $string) use (&$response) { | 
                                                                                                            
                                                            |  | 290 | +        curl_setopt($this->curl, CURLOPT_HEADERFUNCTION, function($ch, $string) use (&$response) { | 
                                                                                                            
                                                            | 291 | 291 |              $length = strlen($string); | 
                                                                                                            
                                                            | 292 | 292 |              $response .= $string; | 
                                                                                                            
                                                            | 293 | 293 |   | 
                                                                                                                                                        
                                                        |  | @@ -385,7 +385,7 @@  discard block | 
                                                    
                                                        |  |  |  block discarded – undo | 
                                                                                                                                                                                                                    
                                                            | 385 | 385 |              return false; | 
                                                                                                            
                                                            | 386 | 386 |          } | 
                                                                                                            
                                                            | 387 | 387 |   | 
                                                                                                            
                                                            | 388 |  | -        $file = array_filter($listing, function ($item) use ($path) { | 
                                                                                                            
                                                            |  | 388 | +        $file = array_filter($listing, function($item) use ($path) { | 
                                                                                                            
                                                            | 389 | 389 |              return Normalizer::normalize($item['path']) === Normalizer::normalize($path); | 
                                                                                                            
                                                            | 390 | 390 |          }); | 
                                                                                                            
                                                            | 391 | 391 |   | 
                                                                                                                                                        
                                                        |  | @@ -422,7 +422,7 @@  discard block | 
                                                    
                                                        |  |  |  block discarded – undo | 
                                                                                                                                                                                                                    
                                                            | 422 | 422 |          curl_setopt($this->curl, CURLOPT_CUSTOMREQUEST, 'MDTM '.$path); | 
                                                                                                            
                                                            | 423 | 423 |   | 
                                                                                                            
                                                            | 424 | 424 |          $response = ''; | 
                                                                                                            
                                                            | 425 |  | -        curl_setopt($this->curl, CURLOPT_HEADERFUNCTION, function ($ch, $string) use (&$response) { | 
                                                                                                            
                                                            |  | 425 | +        curl_setopt($this->curl, CURLOPT_HEADERFUNCTION, function($ch, $string) use (&$response) { | 
                                                                                                            
                                                            | 426 | 426 |              $length = strlen($string); | 
                                                                                                            
                                                            | 427 | 427 |              $response .= $string; | 
                                                                                                            
                                                            | 428 | 428 |   | 
                                                                                                                                                        
                                                        |  | @@ -545,7 +545,7 @@  discard block | 
                                                    
                                                        |  |  |  block discarded – undo | 
                                                                                                                                                                                                                    
                                                            | 545 | 545 |          curl_setopt($this->curl, CURLOPT_CUSTOMREQUEST, 'HELP'); | 
                                                                                                            
                                                            | 546 | 546 |   | 
                                                                                                            
                                                            | 547 | 547 |          $response = ''; | 
                                                                                                            
                                                            | 548 |  | -        curl_setopt($this->curl, CURLOPT_HEADERFUNCTION, function ($ch, $string) use (&$response) { | 
                                                                                                            
                                                            |  | 548 | +        curl_setopt($this->curl, CURLOPT_HEADERFUNCTION, function($ch, $string) use (&$response) { | 
                                                                                                            
                                                            | 549 | 549 |              $length = strlen($string); | 
                                                                                                            
                                                            | 550 | 550 |              $response .= $string; | 
                                                                                                            
                                                            | 551 | 551 |   |