@@ -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; |
@@ -84,11 +84,11 @@ discard block |
||
| 84 | 84 | |
| 85 | 85 | return $installationManager |
| 86 | 86 | ->uninstall($repository, $uninstallOperation) |
| 87 | - ->then(function () use ($installationManager, $installOperation, $repository) { |
|
| 87 | + ->then(function() use ($installationManager, $installOperation, $repository) { |
|
| 88 | 88 | $package = $installOperation->getPackage(); |
| 89 | 89 | $installationManager->getInstaller($package->getType()) |
| 90 | 90 | ->download($package) |
| 91 | - ->then(function () use ($installationManager, $installOperation, $repository) { |
|
| 91 | + ->then(function() use ($installationManager, $installOperation, $repository) { |
|
| 92 | 92 | $installationManager->install($repository, $installOperation); |
| 93 | 93 | }); |
| 94 | 94 | }); |