@@ -235,6 +235,7 @@ discard block |
||
| 235 | 235 | |
| 236 | 236 | /** |
| 237 | 237 | * Replaces all placeholders in path variable with corresponding values. |
| 238 | + * @return string |
|
| 238 | 239 | */ |
| 239 | 240 | protected function resolvePath($path) |
| 240 | 241 | { |
@@ -296,7 +297,7 @@ discard block |
||
| 296 | 297 | * #my* unsaf<e>&file:name?".png |
| 297 | 298 | * |
| 298 | 299 | * @param string $filename the source filename to be "sanitized" |
| 299 | - * @return boolean string the sanitized filename |
|
| 300 | + * @return string string the sanitized filename |
|
| 300 | 301 | */ |
| 301 | 302 | public static function sanitize($filename) |
| 302 | 303 | { |
@@ -328,6 +329,7 @@ discard block |
||
| 328 | 329 | * Deletes folder with uploaded files |
| 329 | 330 | * |
| 330 | 331 | * @param string path |
| 332 | + * @param string $path |
|
| 331 | 333 | */ |
| 332 | 334 | public function deleteFolder($path) |
| 333 | 335 | { |