Completed
Pull Request — master (#105)
by
unknown
01:16
created
src/Factory.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -137,14 +137,14 @@  discard block
 block discarded – undo
137 137
                     // Get curl stats
138 138
                     $http_stats = new class {
139 139
                         public $data = [];
140
-                        public function __invoke(...$args){
140
+                        public function __invoke(...$args) {
141 141
                             $this->data = $args[0];
142 142
                         }
143 143
                     };
144 144
 
145 145
                     // Send the signed request to Amazon ES
146 146
                     /** @var \Psr\Http\Message\ResponseInterface $response */
147
-                    $response = $psr7Handler($signedRequest,['http_stats_receiver' => $http_stats])
147
+                    $response = $psr7Handler($signedRequest, ['http_stats_receiver' => $http_stats])
148 148
                         ->then(function(\Psr\Http\Message\ResponseInterface $response) {
149 149
                             return $response;
150 150
                         }, function($error) {
@@ -162,7 +162,7 @@  discard block
 block discarded – undo
162 162
                             'total_time' => $http_stats->data["total_time"] ?? 0,
163 163
                             "primary_port" => $http_stats->data["primary_port"] ?? ''
164 164
                         ],
165
-                        'effective_url'  => (string)$psr7Request->getUri(),
165
+                        'effective_url'  => (string) $psr7Request->getUri(),
166 166
                     ]);
167 167
                 });
168 168
             }
Please login to merge, or discard this patch.