Completed
Pull Request — master (#427)
by
unknown
02:37
created
src/Gaufrette/Adapter/AwsS3.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -307,6 +307,9 @@  discard block
 block discarded – undo
307 307
         return true;
308 308
     }
309 309
 
310
+    /**
311
+     * @param string $key
312
+     */
310 313
     protected function getOptions($key, array $options = [])
311 314
     {
312 315
         $options['ACL'] = $this->options['acl'];
@@ -322,6 +325,9 @@  discard block
 block discarded – undo
322 325
         return $options;
323 326
     }
324 327
 
328
+    /**
329
+     * @return string
330
+     */
325 331
     protected function computePath($key)
326 332
     {
327 333
         if (empty($this->options['directory'])) {
Please login to merge, or discard this patch.
src/Gaufrette/Adapter/GoogleCloudClientStorage.php 1 patch
Doc Comments   +6 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
      */
@@ -81,6 +80,9 @@  discard block
 block discarded – undo
81 80
         return true;
82 81
     }
83 82
     
83
+    /**
84
+     * @param string $name
85
+     */
84 86
     public function setBucket($name)
85 87
     {
86 88
         $this->bucketValidated = null;
@@ -269,6 +271,7 @@  discard block
 block discarded – undo
269 271
     
270 272
     /**
271 273
      * {@inheritdoc}
274
+     * @param string $key
272 275
      */
273 276
     public function setResources($key, $data)
274 277
     {
@@ -286,6 +289,8 @@  discard block
 block discarded – undo
286 289
     
287 290
     /**
288 291
      * {@inheritdoc}
292
+     * @param string $key
293
+     * @param string $resourceName
289 294
      */
290 295
     public function getResourceByName($key, $resourceName)
291 296
     {
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
@@ -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.