@@ -188,7 +188,7 @@ discard block |
||
188 | 188 | |
189 | 189 | $this->progressBar->start(count($this->providerIncludes)); |
190 | 190 | |
191 | - $success = function ($body, $path) { |
|
191 | + $success = function($body, $path) { |
|
192 | 192 | $this->provider->setDownloaded($path); |
193 | 193 | $this->filesystem->write($path, $body); |
194 | 194 | }; |
@@ -315,7 +315,7 @@ discard block |
||
315 | 315 | $this->http->pool( |
316 | 316 | $generator, |
317 | 317 | // Success |
318 | - function ($body, $path) { |
|
318 | + function($body, $path) { |
|
319 | 319 | $this->filesystem->write($path, $body); |
320 | 320 | $this->package->setDownloaded($path); |
321 | 321 | }, |
@@ -331,7 +331,7 @@ discard block |
||
331 | 331 | */ |
332 | 332 | protected function getClosureComplete():Closure |
333 | 333 | { |
334 | - return function () { |
|
334 | + return function() { |
|
335 | 335 | $this->progressBar->progress(); |
336 | 336 | }; |
337 | 337 | } |
@@ -243,7 +243,7 @@ |
||
243 | 243 | $this->delete($target); |
244 | 244 | } |
245 | 245 | |
246 | - retry(8, function () use ($from, $target) { |
|
246 | + retry(8, function() use ($from, $target) { |
|
247 | 247 | $this->filesystem->rename($this->getGzName($from), $target); |
248 | 248 | }, 250); |
249 | 249 |