Completed
Pull Request — master (#13780)
by Sam
36:54
created
framework/web/Request.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -507,7 +507,7 @@  discard block
 block discarded – undo
507 507
      * If the parameter does not exist, the second parameter passed to this method will be returned.
508 508
      * @param string $name the parameter name
509 509
      * @param mixed $defaultValue the default parameter value if the parameter does not exist.
510
-     * @return mixed the parameter value
510
+     * @return string the parameter value
511 511
      * @see getBodyParams()
512 512
      * @see setBodyParams()
513 513
      */
@@ -1459,7 +1459,7 @@  discard block
 block discarded – undo
1459 1459
     }
1460 1460
 
1461 1461
     /**
1462
-     * @param $maskedToken A masked token.
1462
+     * @param string $maskedToken A masked token.
1463 1463
      * @return string An unmasked token, or an empty string in case of invalid token format.
1464 1464
      */
1465 1465
     protected function unmaskCsrfToken($maskedToken)
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,6 @@
 block discarded – undo
9 9
 
10 10
 use Yii;
11 11
 use yii\base\InvalidConfigException;
12
-use yii\base\Security;
13 12
 use yii\helpers\StringHelper;
14 13
 
15 14
 /**
Please login to merge, or discard this patch.