@@ -31,9 +31,9 @@ discard block |
||
31 | 31 | } |
32 | 32 | |
33 | 33 | $resultPromise = $downloader->download($package, $destDir, null, false); |
34 | - $resultPromise->then(function ($path) use (&$patchData) { |
|
34 | + $resultPromise->then(function($path) use (&$patchData) { |
|
35 | 35 | $patchData[PatchDefinition::PATH] = $path; |
36 | - }, function (\Exception $exception) use ($source, $errorHandler, &$patchData, &$errors) { |
|
36 | + }, function(\Exception $exception) use ($source, $errorHandler, &$patchData, &$errors) { |
|
37 | 37 | try { |
38 | 38 | if (!$exception instanceof \Composer\Downloader\TransportException) { |
39 | 39 | throw $exception; |
@@ -90,7 +90,7 @@ discard block |
||
90 | 90 | ->then(function() use ($installer, $package) { |
91 | 91 | $installer->download($package); |
92 | 92 | }) |
93 | - ->then(function () use ($installationManager, $installOperation, $repository) { |
|
93 | + ->then(function() use ($installationManager, $installOperation, $repository) { |
|
94 | 94 | $installationManager->install($repository, $installOperation); |
95 | 95 | }); |
96 | 96 | } |
@@ -70,7 +70,7 @@ |
||
70 | 70 | $compExecutor = $this->compExecutor; |
71 | 71 | $installationManager = $this->installationManager; |
72 | 72 | return $this->consoleSilencer->applyToCallback( |
73 | - function () use ($compExecutor, $installationManager, $repository, $resetOperation, $uninstallOperation) { |
|
73 | + function() use ($compExecutor, $installationManager, $repository, $resetOperation, $uninstallOperation) { |
|
74 | 74 | return $compExecutor->processReinstallOperation($repository, $installationManager, $resetOperation, $uninstallOperation); |
75 | 75 | } |
76 | 76 | ); |