@@ -245,6 +245,7 @@ discard block |
||
| 245 | 245 | |
| 246 | 246 | /** |
| 247 | 247 | * Replaces all placeholders in path variable with corresponding values. |
| 248 | + * @param string|null $path |
|
| 248 | 249 | */ |
| 249 | 250 | protected function resolvePath($path) |
| 250 | 251 | { |
@@ -306,7 +307,7 @@ discard block |
||
| 306 | 307 | * #my* unsaf<e>&file:name?".png |
| 307 | 308 | * |
| 308 | 309 | * @param string $filename the source filename to be "sanitized" |
| 309 | - * @return boolean string the sanitized filename |
|
| 310 | + * @return string string the sanitized filename |
|
| 310 | 311 | */ |
| 311 | 312 | public static function sanitize($filename) |
| 312 | 313 | { |
@@ -184,7 +184,7 @@ discard block |
||
| 184 | 184 | } |
| 185 | 185 | |
| 186 | 186 | /** |
| 187 | - * @param $profile |
|
| 187 | + * @param string $profile |
|
| 188 | 188 | * @return string |
| 189 | 189 | */ |
| 190 | 190 | protected function getPlaceholderUrl($profile) |
@@ -231,7 +231,7 @@ discard block |
||
| 231 | 231 | /** |
| 232 | 232 | * @param $config |
| 233 | 233 | * @param $path |
| 234 | - * @param $thumbPath |
|
| 234 | + * @param string|boolean $thumbPath |
|
| 235 | 235 | */ |
| 236 | 236 | protected function generateImageThumb($config, $path, $thumbPath) |
| 237 | 237 | { |