Completed
Push — master ( a6e80c...aa8d8f )
by Bernardo
02:23
created
src/Api/Client.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -68,7 +68,7 @@  discard block
 block discarded – undo
68 68
         // Wait till all the requests are finished.
69 69
         (new EachPromise($promises, [
70 70
             'concurrency' => 10,
71
-            'fulfilled' => function ($infoPackage) use (&$infoPackages) {
71
+            'fulfilled' => function($infoPackage) use (&$infoPackages) {
72 72
                 $infoPackages[] = $infoPackage;
73 73
             },
74 74
         ]))->promise()->wait();
@@ -110,8 +110,8 @@  discard block
 block discarded – undo
110 110
 
111 111
         $result = [];
112 112
         foreach ($packages as $package) {
113
-            $result[] =  $this->httpClient->requestAsync('GET', $this->packagistUrl.'/p/'.$package->getName().'.json')
114
-                ->then(function (ResponseInterface $response) {
113
+            $result[] = $this->httpClient->requestAsync('GET', $this->packagistUrl.'/p/'.$package->getName().'.json')
114
+                ->then(function(ResponseInterface $response) {
115 115
                     return json_decode($response->getBody(), true);
116 116
                 });
117 117
         }
Please login to merge, or discard this patch.