@@ -26,7 +26,7 @@ discard block |
||
26 | 26 | */ |
27 | 27 | public function __invoke(callable $handler) : \Closure |
28 | 28 | { |
29 | - return function ( |
|
29 | + return function( |
|
30 | 30 | RequestInterface $request, |
31 | 31 | array $options |
32 | 32 | ) use ($handler) { |
@@ -47,12 +47,12 @@ discard block |
||
47 | 47 | */ |
48 | 48 | protected function getOnStatsCallback(\Closure $initialOnStats = null) : \Closure |
49 | 49 | { |
50 | - return function (TransferStats $stats) use ($initialOnStats) { |
|
50 | + return function(TransferStats $stats) use ($initialOnStats) { |
|
51 | 51 | if (is_callable($initialOnStats)) { |
52 | 52 | call_user_func($initialOnStats, $stats); |
53 | 53 | } |
54 | 54 | |
55 | - $this->dataCollector->addTotalTime((float)$stats->getTransferTime()); |
|
55 | + $this->dataCollector->addTotalTime((float) $stats->getTransferTime()); |
|
56 | 56 | }; |
57 | 57 | } |
58 | 58 | } |