Completed
Pull Request — master (#435)
by Albin
09:27
created
src/Gaufrette/Adapter/GoogleCloudStorage.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -145,6 +145,9 @@
 block discarded – undo
145 145
         return isset($this->metadata[$key]) ? $this->metadata[$key] : array();
146 146
     }
147 147
 
148
+    /**
149
+     * @param string $key
150
+     */
148 151
     private function find($key, array $fields = array())
149 152
     {
150 153
         return $this->gridFS->findOne($key, $fields);
Please login to merge, or discard this patch.
src/Gaufrette/Adapter/OpenCloud.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
      *
85 85
      * @param string $key
86 86
      *
87
-     * @return string|bool if cannot read content
87
+     * @return string if cannot read content
88 88
      */
89 89
     public function read($key)
90 90
     {
@@ -156,7 +156,7 @@  discard block
 block discarded – undo
156 156
      *
157 157
      * @param string $key
158 158
      *
159
-     * @return int|bool An UNIX like timestamp or false
159
+     * @return string|false An UNIX like timestamp or false
160 160
      */
161 161
     public function mtime($key)
162 162
     {
Please login to merge, or discard this patch.
src/Gaufrette/Adapter/AclAwareAmazonS3.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -145,6 +145,9 @@
 block discarded – undo
145 145
         return isset($this->metadata[$key]) ? $this->metadata[$key] : array();
146 146
     }
147 147
 
148
+    /**
149
+     * @param string $key
150
+     */
148 151
     private function find($key, array $fields = array())
149 152
     {
150 153
         return $this->gridFS->findOne($key, $fields);
Please login to merge, or discard this patch.
src/Gaufrette/Adapter/Aws/src/S3.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -21,6 +21,9 @@  discard block
 block discarded – undo
21 21
     protected $metadata = array();
22 22
     protected $detectContentType;
23 23
 
24
+    /**
25
+     * @param string $bucket
26
+     */
24 27
     public function __construct(S3Client $service, $bucket, array $options = array(), $detectContentType = false)
25 28
     {
26 29
         $this->service = $service;
@@ -282,6 +285,9 @@  discard block
 block discarded – undo
282 285
         return true;
283 286
     }
284 287
 
288
+    /**
289
+     * @param string $key
290
+     */
285 291
     protected function getOptions($key, array $options = array())
286 292
     {
287 293
         $options['ACL'] = $this->options['acl'];
@@ -297,6 +303,9 @@  discard block
 block discarded – undo
297 303
         return $options;
298 304
     }
299 305
 
306
+    /**
307
+     * @return string
308
+     */
300 309
     protected function computePath($key)
301 310
     {
302 311
         if (empty($this->options['directory'])) {
Please login to merge, or discard this patch.