@@ -68,7 +68,7 @@ |
||
68 | 68 | $compExecutor = $this->compExecutor; |
69 | 69 | $installationManager = $this->installationManager; |
70 | 70 | return $this->consoleSilencer->applyToCallback( |
71 | - function () use ($compExecutor, $installationManager, $repository, $operation) { |
|
71 | + function() use ($compExecutor, $installationManager, $repository, $operation) { |
|
72 | 72 | return $compExecutor->processReinstallOperation($repository, $installationManager, $operation); |
73 | 73 | } |
74 | 74 | ); |
@@ -30,9 +30,9 @@ discard block |
||
30 | 30 | } |
31 | 31 | |
32 | 32 | $resultPromise = $downloader->download($package, $destDir, null, false); |
33 | - $resultPromise->then(function ($path) use (&$patchData) { |
|
33 | + $resultPromise->then(function($path) use (&$patchData) { |
|
34 | 34 | $patchData[PatchDefinition::PATH] = $path; |
35 | - }, function (\Exception $exception) use ($source, $errorHandler, &$patchData, &$errors) { |
|
35 | + }, function(\Exception $exception) use ($source, $errorHandler, &$patchData, &$errors) { |
|
36 | 36 | try { |
37 | 37 | if (!$exception instanceof \Composer\Downloader\TransportException) { |
38 | 38 | throw $exception; |
@@ -85,7 +85,7 @@ discard block |
||
85 | 85 | |
86 | 86 | return $installer |
87 | 87 | ->download($package) |
88 | - ->then(function () use ($installationManager, $operation, $repository) { |
|
88 | + ->then(function() use ($installationManager, $operation, $repository) { |
|
89 | 89 | $installationManager->install($repository, $operation); |
90 | 90 | }); |
91 | 91 | } |