Test Failed
Push — master ( f26325...65e413 )
by frey
01:50 queued 10s
created
src/Adapter.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -335,9 +335,9 @@  discard block
 block discarded – undo
335 335
         try {
336 336
             if (isset($this->config['read_from_cdn']) && $this->config['read_from_cdn']) {
337 337
                 $response = $this->getHttpClient()
338
-                                 ->get($this->applyPathPrefix($path))
339
-                                 ->getBody()
340
-                                 ->getContents();
338
+                                    ->get($this->applyPathPrefix($path))
339
+                                    ->getBody()
340
+                                    ->getContents();
341 341
             } else {
342 342
                 $response = $this->client->getObject([
343 343
                     'Bucket' => $this->getBucket(),
@@ -375,9 +375,9 @@  discard block
 block discarded – undo
375 375
             $temporaryUrl = $this->getTemporaryUrl($path, Carbon::now()->addMinutes(5));
376 376
 
377 377
             $stream = $this->getHttpClient()
378
-                           ->get($temporaryUrl, ['stream' => true])
379
-                           ->getBody()
380
-                           ->detach();
378
+                            ->get($temporaryUrl, ['stream' => true])
379
+                            ->getBody()
380
+                            ->detach();
381 381
 
382 382
             return ['stream' => $stream];
383 383
         } catch (NoSuchKeyException $e) {
Please login to merge, or discard this patch.
src/Plugins/CDN.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -131,7 +131,7 @@
 block discarded – undo
131 131
      */
132 132
     protected function buildFormParams(array $values, $key, $action)
133 133
     {
134
-        $keys = array_map(function ($n) use ($key) {
134
+        $keys = array_map(function($n) use ($key) {
135 135
             return sprintf("{$key}.%d", $n);
136 136
         }, range(0, count($values) - 1));
137 137
 
Please login to merge, or discard this patch.