@@ -368,7 +368,7 @@ discard block |
||
368 | 368 | return false; |
369 | 369 | } |
370 | 370 | |
371 | - $file = array_filter($listing, function ($item) use ($path) { |
|
371 | + $file = array_filter($listing, function($item) use ($path) { |
|
372 | 372 | return Normalizer::normalize($item['path']) === Normalizer::normalize($path); |
373 | 373 | }); |
374 | 374 | |
@@ -405,7 +405,7 @@ discard block |
||
405 | 405 | curl_setopt($this->curl, CURLOPT_CUSTOMREQUEST, 'MDTM '.$path); |
406 | 406 | |
407 | 407 | $response = ''; |
408 | - curl_setopt($this->curl, CURLOPT_HEADERFUNCTION, function ($ch, $string) use (&$response) { |
|
408 | + curl_setopt($this->curl, CURLOPT_HEADERFUNCTION, function($ch, $string) use (&$response) { |
|
409 | 409 | $length = strlen($string); |
410 | 410 | $response .= $string; |
411 | 411 | |
@@ -528,7 +528,7 @@ discard block |
||
528 | 528 | curl_setopt($this->curl, CURLOPT_CUSTOMREQUEST, 'HELP'); |
529 | 529 | |
530 | 530 | $response = ''; |
531 | - curl_setopt($this->curl, CURLOPT_HEADERFUNCTION, function ($ch, $string) use (&$response) { |
|
531 | + curl_setopt($this->curl, CURLOPT_HEADERFUNCTION, function($ch, $string) use (&$response) { |
|
532 | 532 | $length = strlen($string); |
533 | 533 | $response .= $string; |
534 | 534 |