Completed
Pull Request — master (#427)
by
unknown
10:59
created
src/Gaufrette/Adapter/GoogleCloudClientStorage.php 1 patch
Doc Comments   +9 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,6 @@  discard block
 block discarded – undo
22 22
     protected $resources    = array();
23 23
 
24 24
     /**
25
-     * @param Google\Cloud\Storage\StorageClient    $service    Authenticated storage client class
26 25
      * @param string                                $bucketName Name of the bucket
27 26
      * @param array                                 $options    Options are: "directory" and "acl" (see https://cloud.google.com/storage/docs/access-control/lists)
28 27
      */
@@ -60,6 +59,9 @@  discard block
 block discarded – undo
60 59
         $this->options = array_replace($this->options, $options);
61 60
     }
62 61
     
62
+    /**
63
+     * @return string
64
+     */
63 65
     protected function computePath($key = null)
64 66
     {
65 67
         if (strlen($this->options['directory']))
@@ -81,6 +83,9 @@  discard block
 block discarded – undo
81 83
         return true;
82 84
     }
83 85
     
86
+    /**
87
+     * @param string $name
88
+     */
84 89
     public function setBucket($name)
85 90
     {
86 91
         $this->bucketValidated = null;
@@ -269,6 +274,7 @@  discard block
 block discarded – undo
269 274
     
270 275
     /**
271 276
      * {@inheritdoc}
277
+     * @param string $key
272 278
      */
273 279
     public function setResources($key, $data)
274 280
     {
@@ -286,6 +292,8 @@  discard block
 block discarded – undo
286 292
     
287 293
     /**
288 294
      * {@inheritdoc}
295
+     * @param string $key
296
+     * @param string $resourceName
289 297
      */
290 298
     public function getResourceByName($key, $resourceName)
291 299
     {
Please login to merge, or discard this patch.