Completed
Pull Request — master (#640)
by Tobias
02:02
created
src/Gaufrette/Adapter/DoctrineDbal.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -152,6 +152,10 @@
 block discarded – undo
152 152
         return false;
153 153
     }
154 154
 
155
+    /**
156
+     * @param string $key
157
+     * @param string $column
158
+     */
155 159
     private function getColumnValue($key, $column)
156 160
     {
157 161
         $value = $this->connection->fetchColumn(
Please login to merge, or discard this patch.
src/Gaufrette/Adapter/Dropbox.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -162,6 +162,9 @@
 block discarded – undo
162 162
         }
163 163
     }
164 164
 
165
+    /**
166
+     * @param string $key
167
+     */
165 168
     private function getDropboxMetadata($key)
166 169
     {
167 170
         try {
Please login to merge, or discard this patch.
src/Gaufrette/Adapter/Apc.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -138,7 +138,7 @@
 block discarded – undo
138 138
      * @param string $key    - by default ''
139 139
      * @param int    $format - by default APC_ITER_NONE
140 140
      *
141
-     * @return \APCIterator
141
+     * @return \Traversable
142 142
      */
143 143
     protected function getCachedKeysIterator($key = '', $format = APC_ITER_NONE)
144 144
     {
Please login to merge, or discard this patch.
src/Gaufrette/Adapter/MogileFS.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -250,7 +250,7 @@  discard block
 block discarded – undo
250 250
     /**
251 251
      * Makes request to MogileFS tracker.
252 252
      *
253
-     * @param cmd Command
253
+     * @param cmd string
254 254
      * @param args Array of arguments
255 255
      *
256 256
      * @return mixed Array on success, false on failure
@@ -302,7 +302,7 @@  discard block
 block discarded – undo
302 302
     /**
303 303
      * Get file location at server from MogileFS tracker.
304 304
      *
305
-     * @param key File key
305
+     * @param key string key
306 306
      *
307 307
      * @return mixed Array on success, false on failure
308 308
      */
@@ -318,7 +318,7 @@  discard block
 block discarded – undo
318 318
      * Sends file to MogileFS tracker.
319 319
      *
320 320
      * @param path Save path at server
321
-     * @param data Data to save
321
+     * @param data string to save
322 322
      *
323 323
      * @return bool
324 324
      */
Please login to merge, or discard this patch.
src/Gaufrette/Adapter/Zip.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -135,7 +135,7 @@
 block discarded – undo
135 135
      * Returns the stat of a file in the zip archive
136 136
      *  (name, index, crc, mtime, compression size, compression method, filesize).
137 137
      *
138
-     * @param $key
138
+     * @param string $key
139 139
      *
140 140
      * @return array|bool
141 141
      */
Please login to merge, or discard this patch.
src/Gaufrette/StreamWrapper.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -213,7 +213,7 @@
 block discarded – undo
213 213
     /**
214 214
      * @param string $path
215 215
      *
216
-     * @return mixed
216
+     * @return boolean
217 217
      */
218 218
     public function unlink($path)
219 219
     {
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
@@ -186,6 +186,9 @@
 block discarded – undo
186 186
         return $this->users;
187 187
     }
188 188
 
189
+    /**
190
+     * @param string $key
191
+     */
189 192
     private function updateAcl($key)
190 193
     {
191 194
         $response = $this->s3->set_object_acl($this->bucketName, $key, $this->getAcl());
Please login to merge, or discard this patch.
src/Gaufrette/Adapter/AzureBlobStorage.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -458,7 +458,7 @@  discard block
 block discarded – undo
458 458
     }
459 459
 
460 460
     /**
461
-     * @param string|resource $content
461
+     * @param string $content
462 462
      *
463 463
      * @return string
464 464
      */
@@ -476,7 +476,7 @@  discard block
 block discarded – undo
476 476
     /**
477 477
      * @param string $key
478 478
      *
479
-     * @return array
479
+     * @return string[]
480 480
      * @throws \InvalidArgumentException
481 481
      */
482 482
     private function tokenizeKey($key)
Please login to merge, or discard this patch.
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.