Completed
Push — master ( 15fb8c...957b06 )
by vistart
03:46
created
security/PasswordHistory.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -83,6 +83,9 @@
 block discarded – undo
83 83
         $this->{$this->passwordHashAttribute} = Yii::$app->security->generatePasswordHash($password);
84 84
     }
85 85
     
86
+    /**
87
+     * @param string $password
88
+     */
86 89
     protected static function judgePasswordHash($password)
87 90
     {
88 91
         return strpos($password, '$2y$') !== false;
Please login to merge, or discard this patch.
console/controllers/UserController.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -110,7 +110,7 @@
 block discarded – undo
110 110
     
111 111
     /**
112 112
      * Show User Information.
113
-     * @param User|string|integer $user User ID.
113
+     * @param User $user User ID.
114 114
      * @param boolean $guid Show GUID?
115 115
      * @param boolean $passHash Show PasswordH Hash?
116 116
      * @param boolean $accessToken Show Access Token?
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,6 @@
 block discarded – undo
18 18
 use yii\console\Controller;
19 19
 use yii\console\Exception;
20 20
 use Yii;
21
-use yii\helpers\Console;
22 21
 
23 22
 /**
24 23
  * The simple operations associated with User.
Please login to merge, or discard this patch.
web/user/controllers/AuthController.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -89,7 +89,7 @@
 block discarded – undo
89 89
     /**
90 90
      * Logout action.
91 91
      *
92
-     * @return string
92
+     * @return \yii\web\Response
93 93
      */
94 94
     public function actionLogout()
95 95
     {
Please login to merge, or discard this patch.
forms/ChangePasswordForm.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -103,7 +103,7 @@
 block discarded – undo
103 103
     /**
104 104
      * Finds user.
105 105
      *
106
-     * @return User|null
106
+     * @return boolean
107 107
      */
108 108
     public function getUser()
109 109
     {
Please login to merge, or discard this patch.
web/admin/controllers/UserController.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -199,7 +199,7 @@
 block discarded – undo
199 199
     /**
200 200
      * Deregister User.
201 201
      * @param string $id User ID.
202
-     * @return string
202
+     * @return Response
203 203
      * @throws ServerErrorHttpException
204 204
      * @throws ForbiddenHttpException
205 205
      */
Please login to merge, or discard this patch.