@@ -110,7 +110,7 @@ |
||
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? |
@@ -18,7 +18,6 @@ |
||
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. |
@@ -103,7 +103,7 @@ |
||
103 | 103 | /** |
104 | 104 | * Finds user. |
105 | 105 | * |
106 | - * @return User|null |
|
106 | + * @return boolean |
|
107 | 107 | */ |
108 | 108 | public function getUser() |
109 | 109 | { |
@@ -22,7 +22,6 @@ |
||
22 | 22 | use yii\behaviors\AttributeBehavior; |
23 | 23 | use yii\caching\TagDependency; |
24 | 24 | use yii\db\ActiveRecord; |
25 | -use yii\widgets\ActiveForm; |
|
26 | 25 | |
27 | 26 | /** |
28 | 27 | * Common User Model. |
@@ -71,7 +71,7 @@ |
||
71 | 71 | |
72 | 72 | /** |
73 | 73 | * Create a registration invitation instance. |
74 | - * @param string|User $invitee The invited person. |
|
74 | + * @param UserInvitationRegistrationTrait $invitee The invited person. |
|
75 | 75 | * @return Registration |
76 | 76 | */ |
77 | 77 | public function createInvitationRegistration($invitee) |