Passed
Push — master ( dbfc96...0235bc )
by vistart
07:24
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 1 patch
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.
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.
web/user/controllers/RegisterController.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,6 @@
 block discarded – undo
15 15
 use rhosocial\user\forms\RegisterForm;
16 16
 use Yii;
17 17
 use yii\filters\AccessControl;
18
-use yii\helpers\Url;
19 18
 use yii\web\Controller;
20 19
 
21 20
 /**
Please login to merge, or discard this patch.