@@ -128,7 +128,7 @@ |
||
128 | 128 | * |
129 | 129 | * @param IdentityInterface $model |
130 | 130 | * |
131 | - * @return ModelInterface |
|
131 | + * @return \Itstructure\UsersModule\interfaces\ModelInterface |
|
132 | 132 | */ |
133 | 133 | public function setModel(IdentityInterface $model): ModelInterface |
134 | 134 | { |
@@ -169,7 +169,7 @@ discard block |
||
169 | 169 | /** |
170 | 170 | * Returns model. |
171 | 171 | * |
172 | - * @return ModelInterface |
|
172 | + * @return \Itstructure\UsersModule\interfaces\ModelInterface |
|
173 | 173 | */ |
174 | 174 | public function getModel(): ModelInterface |
175 | 175 | { |
@@ -189,7 +189,7 @@ discard block |
||
189 | 189 | /** |
190 | 190 | * Get validate component for main model. |
191 | 191 | * |
192 | - * @return ValidateComponentInterface |
|
192 | + * @return \Itstructure\UsersModule\interfaces\ValidateComponentInterface |
|
193 | 193 | */ |
194 | 194 | public function getValidateComponent(): ValidateComponentInterface |
195 | 195 | { |
@@ -223,7 +223,7 @@ discard block |
||
223 | 223 | * |
224 | 224 | * @param int|string $id |
225 | 225 | * |
226 | - * @return mixed |
|
226 | + * @return string |
|
227 | 227 | */ |
228 | 228 | public function actionView($id) |
229 | 229 | { |
@@ -358,7 +358,7 @@ discard block |
||
358 | 358 | /** |
359 | 359 | * Returns new object of search main model. |
360 | 360 | * |
361 | - * @return mixed |
|
361 | + * @return ActiveRecordInterface |
|
362 | 362 | */ |
363 | 363 | protected function getNewSearchModel() |
364 | 364 | { |
@@ -10,7 +10,6 @@ |
||
10 | 10 | use yii\web\{IdentityInterface, ConflictHttpException, BadRequestHttpException, NotFoundHttpException, Controller}; |
11 | 11 | use Itstructure\UsersModule\Module; |
12 | 12 | use Itstructure\UsersModule\interfaces\{ModelInterface, ValidateComponentInterface}; |
13 | -use Itstructure\UsersModule\components\ProfileValidateComponent; |
|
14 | 13 | |
15 | 14 | /** |
16 | 15 | * Class BaseController |