@@ -315,6 +315,7 @@ discard block |
||
| 315 | 315 | |
| 316 | 316 | /** |
| 317 | 317 | * Replaces all placeholders in path variable with corresponding values. |
| 318 | + * @param callable|null $path |
|
| 318 | 319 | */ |
| 319 | 320 | protected function resolvePath($path) |
| 320 | 321 | { |
@@ -390,7 +391,7 @@ discard block |
||
| 390 | 391 | * #my* unsaf<e>&file:name?".png |
| 391 | 392 | * |
| 392 | 393 | * @param string $filename the source filename to be "sanitized" |
| 393 | - * @return boolean string the sanitized filename |
|
| 394 | + * @return string string the sanitized filename |
|
| 394 | 395 | */ |
| 395 | 396 | public static function sanitize($filename) |
| 396 | 397 | { |
@@ -220,7 +220,7 @@ discard block |
||
| 220 | 220 | } |
| 221 | 221 | |
| 222 | 222 | /** |
| 223 | - * @param $profile |
|
| 223 | + * @param string $profile |
|
| 224 | 224 | * @return string |
| 225 | 225 | */ |
| 226 | 226 | protected function getPlaceholderUrl($profile) |
@@ -264,7 +264,7 @@ discard block |
||
| 264 | 264 | /** |
| 265 | 265 | * @param $config |
| 266 | 266 | * @param $path |
| 267 | - * @param $thumbPath |
|
| 267 | + * @param string|boolean $thumbPath |
|
| 268 | 268 | */ |
| 269 | 269 | protected function generateImageThumb($config, $path, $thumbPath) |
| 270 | 270 | { |
@@ -293,8 +293,8 @@ discard block |
||
| 293 | 293 | } |
| 294 | 294 | |
| 295 | 295 | /** |
| 296 | - * @param $attribute |
|
| 297 | - * @param $profile |
|
| 296 | + * @param string $attribute |
|
| 297 | + * @param string $profile |
|
| 298 | 298 | * @param BaseActiveRecord $model |
| 299 | 299 | * @return bool|string |
| 300 | 300 | */ |