Completed
Pull Request — master (#548)
by Albin
05:45
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/PhpseclibSftp.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -187,6 +187,10 @@  discard block
 block discarded – undo
187 187
         $this->initialized = true;
188 188
     }
189 189
 
190
+    /**
191
+     * @param string|null $directory
192
+     * @param boolean $create
193
+     */
190 194
     protected function ensureDirectoryExists($directory, $create)
191 195
     {
192 196
         $pwd = $this->sftp->pwd();
@@ -201,6 +205,9 @@  discard block
 block discarded – undo
201 205
         }
202 206
     }
203 207
 
208
+    /**
209
+     * @param string $key
210
+     */
204 211
     protected function computePath($key)
205 212
     {
206 213
         return $this->directory.'/'.ltrim($key, '/');
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/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/AzureBlobStorage.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -466,7 +466,7 @@  discard block
 block discarded – undo
466 466
     }
467 467
 
468 468
     /**
469
-     * @param string|resource $content
469
+     * @param string $content
470 470
      *
471 471
      * @return string
472 472
      */
@@ -484,7 +484,7 @@  discard block
 block discarded – undo
484 484
     /**
485 485
      * @param string $key
486 486
      *
487
-     * @return array
487
+     * @return string[]
488 488
      * @throws \InvalidArgumentException
489 489
      */
490 490
     private function tokenizeKey($key)
@@ -508,7 +508,7 @@  discard block
 block discarded – undo
508 508
 
509 509
     /**
510 510
      * @param string $containerName
511
-     * @param null   $prefix
511
+     * @param string   $prefix
512 512
      *
513 513
      * @return array
514 514
      */
Please login to merge, or discard this patch.