@@ -26,7 +26,7 @@ |
||
26 | 26 | private $tokenizer; |
27 | 27 | |
28 | 28 | /** |
29 | - * @param User $user |
|
29 | + * @param \app\models\entity\User $user |
|
30 | 30 | */ |
31 | 31 | public function __construct(User $user, Tokenizer $tokenizer, $config = []) |
32 | 32 | { |
@@ -84,7 +84,7 @@ |
||
84 | 84 | * If the model is not found, then 404 HTTP exception will be thrown. |
85 | 85 | * |
86 | 86 | * @param string $name |
87 | - * @return Model |
|
87 | + * @return \yii\base\Model |
|
88 | 88 | * @throws NotFoundHttpException |
89 | 89 | */ |
90 | 90 | private function findModel($name): yii\base\Model |
@@ -130,7 +130,7 @@ discard block |
||
130 | 130 | * If the model is not found, then 404 HTTP exception will be thrown. |
131 | 131 | * |
132 | 132 | * @param int $id |
133 | - * @return Model |
|
133 | + * @return \yii\base\Model |
|
134 | 134 | * @throws NotFoundHttpException |
135 | 135 | */ |
136 | 136 | private function findUser($id): yii\base\Model |
@@ -149,7 +149,7 @@ discard block |
||
149 | 149 | * If the model is not found, then 404 HTTP exception will be thrown. |
150 | 150 | * |
151 | 151 | * @param int $id |
152 | - * @return Model |
|
152 | + * @return \yii\base\Model |
|
153 | 153 | * @throws NotFoundHttpException |
154 | 154 | */ |
155 | 155 | private function findProfile($id): yii\base\Model |