Completed
Branch feature/pre-split (b75444)
by Anton
10:44
created
source/Spiral/Storage/Servers/RackspaceServer.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -85,11 +85,11 @@  discard block
 block discarded – undo
85 85
 
86 86
         if (!empty($this->cache) && $this->options['cache']) {
87 87
             $this->authToken = $this->cache->get(
88
-                $this->options['username'] . '@rackspace-token'
88
+                $this->options['username'].'@rackspace-token'
89 89
             );
90 90
 
91 91
             $this->regions = (array)$this->cache->get(
92
-                $this->options['username'] . '@rackspace-regions'
92
+                $this->options['username'].'@rackspace-regions'
93 93
             );
94 94
         }
95 95
 
@@ -119,7 +119,7 @@  discard block
 block discarded – undo
119 119
     public function exists(
120 120
         BucketInterface $bucket,
121 121
         string $name,
122
-        ResponseInterface &$response = null
122
+        ResponseInterface & $response = null
123 123
     ): bool {
124 124
         try {
125 125
             $response = $this->client->send($this->buildRequest('HEAD', $bucket, $name));
@@ -244,7 +244,7 @@  discard block
 block discarded – undo
244 244
     {
245 245
         try {
246 246
             $request = $this->buildRequest('PUT', $bucket, $newName, [
247
-                'X-Copy-From'    => '/' . $bucket->getOption('container') . '/' . rawurlencode($oldName),
247
+                'X-Copy-From'    => '/'.$bucket->getOption('container').'/'.rawurlencode($oldName),
248 248
                 'Content-Length' => 0
249 249
             ]);
250 250
 
@@ -281,7 +281,7 @@  discard block
 block discarded – undo
281 281
 
282 282
         try {
283 283
             $request = $this->buildRequest('PUT', $destination, $name, [
284
-                'X-Copy-From'    => '/' . $bucket->getOption('container') . '/' . rawurlencode($name),
284
+                'X-Copy-From'    => '/'.$bucket->getOption('container').'/'.rawurlencode($name),
285 285
                 'Content-Length' => 0
286 286
             ]);
287 287
 
@@ -357,13 +357,13 @@  discard block
 block discarded – undo
357 357
 
358 358
         if (!empty($this->cache) && $this->options['cache']) {
359 359
             $this->cache->set(
360
-                $username . '@rackspace-token',
360
+                $username.'@rackspace-token',
361 361
                 $this->authToken,
362 362
                 $this->options['lifetime']
363 363
             );
364 364
 
365 365
             $this->cache->set(
366
-                $username . '@rackspace-regions',
366
+                $username.'@rackspace-regions',
367 367
                 $this->regions,
368 368
                 $this->options['lifetime']
369 369
             );
@@ -402,7 +402,7 @@  discard block
 block discarded – undo
402 402
         }
403 403
 
404 404
         return new Uri(
405
-            $this->regions[$region] . '/' . $bucket->getOption('container') . '/' . rawurlencode($name)
405
+            $this->regions[$region].'/'.$bucket->getOption('container').'/'.rawurlencode($name)
406 406
         );
407 407
     }
408 408
 
Please login to merge, or discard this patch.