Completed
Pull Request — master (#438)
by Albin
02:15
created
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.
src/Gaufrette/Adapter/GCS/src/GCS.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.