@@ -157,7 +157,7 @@ discard block |
||
157 | 157 | } |
158 | 158 | |
159 | 159 | /** |
160 | - * @param $profile |
|
160 | + * @param string $profile |
|
161 | 161 | * @return string |
162 | 162 | */ |
163 | 163 | protected function getPlaceholderUrl($profile) |
@@ -176,8 +176,8 @@ discard block |
||
176 | 176 | } |
177 | 177 | |
178 | 178 | /** |
179 | - * @param $attribute |
|
180 | - * @param $profile |
|
179 | + * @param string $attribute |
|
180 | + * @param string $profile |
|
181 | 181 | * @param BaseActiveRecord $model |
182 | 182 | * @return bool|string |
183 | 183 | */ |
@@ -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 | { |
@@ -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 | { |