Completed
Branch master (7c2dd0)
by Alex
05:05
created
src/UploadBehavior.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -315,6 +315,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
src/UploadImageBehavior.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -220,7 +220,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
      */
Please login to merge, or discard this patch.