@@ -174,7 +174,7 @@ discard block |
||
174 | 174 | { |
175 | 175 | $from = getcwd().'/resources/public/'; |
176 | 176 | foreach (new \DirectoryIterator($from) as $fileInfo) { |
177 | - if($fileInfo->isDot()) continue; |
|
177 | + if ($fileInfo->isDot()) continue; |
|
178 | 178 | $file = $fileInfo->getFilename(); |
179 | 179 | $to = $this->filesystem->getFullPath($file); |
180 | 180 | copy($from.$file, $to); |
@@ -205,7 +205,7 @@ discard block |
||
205 | 205 | |
206 | 206 | $this->progressBar->start(count($this->providerIncludes)); |
207 | 207 | |
208 | - $success = function ($body, $path) { |
|
208 | + $success = function($body, $path) { |
|
209 | 209 | $this->provider->setDownloaded($path); |
210 | 210 | $this->filesystem->write($path, $body); |
211 | 211 | }; |
@@ -332,7 +332,7 @@ discard block |
||
332 | 332 | $this->http->pool( |
333 | 333 | $generator, |
334 | 334 | // Success |
335 | - function ($body, $path) { |
|
335 | + function($body, $path) { |
|
336 | 336 | $this->filesystem->write($path, $body); |
337 | 337 | $this->package->setDownloaded($path); |
338 | 338 | }, |
@@ -348,7 +348,7 @@ discard block |
||
348 | 348 | */ |
349 | 349 | protected function getClosureComplete():Closure |
350 | 350 | { |
351 | - return function () { |
|
351 | + return function() { |
|
352 | 352 | $this->progressBar->progress(); |
353 | 353 | }; |
354 | 354 | } |
@@ -174,7 +174,9 @@ |
||
174 | 174 | { |
175 | 175 | $from = getcwd().'/resources/public/'; |
176 | 176 | foreach (new \DirectoryIterator($from) as $fileInfo) { |
177 | - if($fileInfo->isDot()) continue; |
|
177 | + if($fileInfo->isDot()) { |
|
178 | + continue; |
|
179 | + } |
|
178 | 180 | $file = $fileInfo->getFilename(); |
179 | 181 | $to = $this->filesystem->getFullPath($file); |
180 | 182 | copy($from.$file, $to); |