Completed
Pull Request — master (#438)
by Albin
05:53
created
src/Gaufrette/Adapter/GCS/src/GCS.php 1 patch
Doc Comments   +6 added lines, -1 removed lines patch added patch discarded remove patch
@@ -346,6 +346,11 @@  discard block
 block discarded – undo
346 346
         }
347 347
     }
348 348
 
349
+    /**
350
+     * @param string $key
351
+     *
352
+     * @return string
353
+     */
349 354
     protected function computePath($key)
350 355
     {
351 356
         if (empty($this->options['directory'])) {
@@ -359,7 +364,7 @@  discard block
 block discarded – undo
359 364
      * @param string $path
360 365
      * @param array  $options
361 366
      *
362
-     * @return bool|\Google_Service_Storage_StorageObject
367
+     * @return string
363 368
      */
364 369
     private function getObjectData($path, $options = array())
365 370
     {
Please login to merge, or discard this patch.
src/Gaufrette/Adapter/GoogleCloudStorage.php 1 patch
Doc Comments   +6 added lines, -1 removed lines patch added patch discarded remove patch
@@ -351,6 +351,11 @@  discard block
 block discarded – undo
351 351
         }
352 352
     }
353 353
 
354
+    /**
355
+     * @param string $key
356
+     *
357
+     * @return string
358
+     */
354 359
     protected function computePath($key)
355 360
     {
356 361
         if (empty($this->options['directory'])) {
@@ -364,7 +369,7 @@  discard block
 block discarded – undo
364 369
      * @param string $path
365 370
      * @param array  $options
366 371
      *
367
-     * @return bool|\Google_Service_Storage_StorageObject
372
+     * @return string
368 373
      */
369 374
     private function getObjectData($path, $options = array())
370 375
     {
Please login to merge, or discard this patch.
src/Gaufrette/Adapter/GCS/tests/Gaufrette/Functional/Adapter/GCSTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
         /** @var \Gaufrette\Adapter\GoogleCloudStorage $adapter */
41 41
         $adapter = $this->filesystem->getAdapter();
42 42
         $oldBucket = $adapter->getOptions();
43
-        $adapter->setBucket('Gaufrette-' . mt_rand());
43
+        $adapter->setBucket('Gaufrette-'.mt_rand());
44 44
 
45 45
         $adapter->read('foo');
46 46
         $adapter->setBucket($oldBucket);
Please login to merge, or discard this patch.