@@ -243,7 +243,7 @@ discard block |
||
| 243 | 243 | * #my* unsaf<e>&file:name?".png |
| 244 | 244 | * |
| 245 | 245 | * @param string $filename the source filename to be "sanitized" |
| 246 | - * @return boolean string the sanitized filename |
|
| 246 | + * @return string string the sanitized filename |
|
| 247 | 247 | */ |
| 248 | 248 | public static function sanitize($filename) |
| 249 | 249 | { |
@@ -317,6 +317,7 @@ discard block |
||
| 317 | 317 | |
| 318 | 318 | /** |
| 319 | 319 | * Replaces all placeholders in path variable with corresponding values. |
| 320 | + * @param callable|null $path |
|
| 320 | 321 | */ |
| 321 | 322 | protected function resolvePath($path) |
| 322 | 323 | { |