@@ -41,7 +41,7 @@ discard block |
||
| 41 | 41 | |
| 42 | 42 | /** |
| 43 | 43 | * Lists all Admin models. |
| 44 | - * @return yii\data\ActiveDataProvider |
|
| 44 | + * @return ActiveDataProvider |
|
| 45 | 45 | */ |
| 46 | 46 | public function actionIndex() |
| 47 | 47 | { |
@@ -53,7 +53,7 @@ discard block |
||
| 53 | 53 | /** |
| 54 | 54 | * Displays a single Admin model. |
| 55 | 55 | * @param integer $id |
| 56 | - * @return mixed |
|
| 56 | + * @return Admin |
|
| 57 | 57 | */ |
| 58 | 58 | public function actionView($id) |
| 59 | 59 | { |
@@ -63,7 +63,7 @@ discard block |
||
| 63 | 63 | /** |
| 64 | 64 | * Creates a new Admin model. |
| 65 | 65 | * If creation is successful, the browser will be redirected to the 'view' page. |
| 66 | - * @return mixed |
|
| 66 | + * @return Admin |
|
| 67 | 67 | */ |
| 68 | 68 | public function actionCreate() |
| 69 | 69 | { |
@@ -76,7 +76,7 @@ discard block |
||
| 76 | 76 | * Updates an existing Admin model. |
| 77 | 77 | * If update is successful, the browser will be redirected to the 'view' page. |
| 78 | 78 | * @param integer $id |
| 79 | - * @return mixed |
|
| 79 | + * @return boolean |
|
| 80 | 80 | */ |
| 81 | 81 | public function actionUpdate($id) |
| 82 | 82 | { |
@@ -71,7 +71,7 @@ discard block |
||
| 71 | 71 | /** |
| 72 | 72 | * Requests password reset. |
| 73 | 73 | * |
| 74 | - * @return mixed |
|
| 74 | + * @return boolean |
|
| 75 | 75 | */ |
| 76 | 76 | public function actionRequestpasswordreset() |
| 77 | 77 | { |
@@ -83,7 +83,7 @@ discard block |
||
| 83 | 83 | * Resets password. |
| 84 | 84 | * |
| 85 | 85 | * @param string $token |
| 86 | - * @return mixed |
|
| 86 | + * @return boolean |
|
| 87 | 87 | * @throws BadRequestHttpException |
| 88 | 88 | */ |
| 89 | 89 | public function actionResetpassword($token) |
@@ -29,7 +29,7 @@ discard block |
||
| 29 | 29 | /** |
| 30 | 30 | * Displays a single User model. |
| 31 | 31 | * @param integer $id |
| 32 | - * @return mixed |
|
| 32 | + * @return User |
|
| 33 | 33 | */ |
| 34 | 34 | public function actionView($id) |
| 35 | 35 | { |
@@ -52,7 +52,7 @@ discard block |
||
| 52 | 52 | * Updates an existing User model. |
| 53 | 53 | * If update is successful, the browser will be redirected to the 'view' page. |
| 54 | 54 | * @param integer $id |
| 55 | - * @return mixed |
|
| 55 | + * @return boolean |
|
| 56 | 56 | */ |
| 57 | 57 | public function actionUpdate($id) |
| 58 | 58 | { |
@@ -6,8 +6,6 @@ |
||
| 6 | 6 | use yii\data\ActiveDataProvider; |
| 7 | 7 | use yii\web\Controller; |
| 8 | 8 | use yii\web\NotFoundHttpException; |
| 9 | -use yii\filters\VerbFilter; |
|
| 10 | -use yii\filters\AccessControl; |
|
| 11 | 9 | use zacksleo\yii2\backend\tests\models\User; |
| 12 | 10 | |
| 13 | 11 | /** |
@@ -1,7 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -use yii\helpers\Html; |
|
| 4 | - |
|
| 5 | 3 | /** @var \yii\web\View $this view component instance */ |
| 6 | 4 | /** @var \yii\mail\MessageInterface $message the message being composed */ |
| 7 | 5 | /** @var string $content main view render result */ |