@@ -388,7 +388,7 @@ |
||
388 | 388 | $hooks = new Hooks(); |
389 | 389 | |
390 | 390 | // Register a progress callback |
391 | - $hooks->register('request.progress', function($data, $bytes_so_far, $bytes_limit) use ($progress) { |
|
391 | + $hooks->register('request.progress', function ($data, $bytes_so_far, $bytes_limit) use ($progress) { |
|
392 | 392 | if ($progress->getMaxSteps() > 0) { |
393 | 393 | $progress->setProgress($bytes_so_far); |
394 | 394 | } |