Completed
Push — master ( 149579...032082 )
by zacksleo
44:40 queued 40:51
created
src/controllers/AdminController.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
 
42 42
     /**
43 43
      * Lists all Admin models.
44
-     * @return mixed
44
+     * @return string
45 45
      */
46 46
     public function actionIndex()
47 47
     {
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
     /**
58 58
      * Displays a single Admin model.
59 59
      * @param integer $id
60
-     * @return mixed
60
+     * @return string
61 61
      */
62 62
     public function actionView($id)
63 63
     {
@@ -107,7 +107,7 @@  discard block
 block discarded – undo
107 107
      * Deletes an existing Admin model.
108 108
      * If deletion is successful, the browser will be redirected to the 'index' page.
109 109
      * @param integer $id
110
-     * @return mixed
110
+     * @return \yii\web\Response
111 111
      */
112 112
     public function actionDelete($id)
113 113
     {
Please login to merge, or discard this patch.
src/mail/layouts/text.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -1,7 +1,5 @@
 block discarded – undo
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 */
Please login to merge, or discard this patch.
src/models/forms/ChangePasswordForm.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -64,6 +64,7 @@
 block discarded – undo
64 64
     /**
65 65
      * 验证原来密码
66 66
      * @inheritdoc
67
+     * @param string $attribute
67 68
      */
68 69
     public function verifyOldPassword($attribute, $params)
69 70
     {
Please login to merge, or discard this patch.
src/models/forms/LoginForm.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace zacksleo\yii2\backend\models\forms;
4 4
 
5
-use yii;
6 5
 use yii\base\Model;
7 6
 use zacksleo\yii2\backend\models\Admin;
8 7
 use zacksleo\yii2\backend\Module;
Please login to merge, or discard this patch.
src/views/site/login.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,4 @@
 block discarded – undo
1 1
 <?php
2
-use yii\helpers\Html;
3 2
 use yii\helpers\Url;
4 3
 use yii\bootstrap\ActiveForm;
5 4
 use zacksleo\yii2\backend\Module;
Please login to merge, or discard this patch.
src/views/site/resetPassword.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -1,8 +1,6 @@
 block discarded – undo
1 1
 <?php
2
-use yii\helpers\Html;
3 2
 use yii\helpers\Url;
4 3
 use yii\bootstrap\ActiveForm;
5
-use zacksleo\yii2\backend\Module;
6 4
 use zacksleo\yii2\metronic\bundles\pages\Login4Asset;
7 5
 
8 6
 /* @var \yii\web\Controller $this */
Please login to merge, or discard this patch.
src/views/site/signup.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,5 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-use yii\helpers\Html;
4 3
 use yii\helpers\Url;
5 4
 use yii\bootstrap\ActiveForm;
6 5
 use backend\themes\metronic\assets\LoginAsset;
Please login to merge, or discard this patch.
tests/ChangePasswordFormTest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,6 @@
 block discarded – undo
11 11
 use yii\base\InvalidParamException;
12 12
 use zacksleo\yii2\backend\models\Admin;
13 13
 use zacksleo\yii2\backend\models\forms\ChangePasswordForm;
14
-use yii;
15 14
 
16 15
 class ChangePasswordFormTest extends TestCase
17 16
 {
Please login to merge, or discard this patch.
tests/controllers/AdminController.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
     {
Please login to merge, or discard this patch.