Completed
Pull Request — master (#12)
by
unknown
04:42
created
src/Command/Create.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -174,7 +174,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
             $body = gzdecode($body);
211 211
             $this->filesystem->write($path, $body);
@@ -333,7 +333,7 @@  discard block
 block discarded – undo
333 333
         $this->http->pool(
334 334
             $generator,
335 335
             // Success
336
-            function ($body, $path) {
336
+            function($body, $path) {
337 337
                 $this->filesystem->write($path, $body);
338 338
                 $this->package->setDownloaded($path);
339 339
             },
@@ -349,7 +349,7 @@  discard block
 block discarded – undo
349 349
      */
350 350
     protected function getClosureComplete():Closure
351 351
     {
352
-        return function () {
352
+        return function() {
353 353
             $this->progressBar->progress();
354 354
         };
355 355
     }
Please login to merge, or discard this patch.