Completed
Pull Request — master (#9)
by zacksleo
10:22
created
tests/controllers/UserController.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -6,8 +6,6 @@
 block discarded – undo
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
 /**
Please login to merge, or discard this patch.
tests/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/views/my/layouts.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 zacksleo\yii2\metronic\bundles\pages\ProfileAsset;
6 5
 
Please login to merge, or discard this patch.
src/models/Admin.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;
4 4
 
5
-use yii;
6 5
 use yii\base\NotSupportedException;
7 6
 use yii\db\ActiveRecord;
8 7
 use yii\web\IdentityInterface;
Please login to merge, or discard this patch.
src/controllers/UserController.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 User 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 User 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 User 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/views/layouts/layout3.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -1,7 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 use yii\helpers\Html;
3 3
 use yii\helpers\Url;
4
-use zacksleo\yii2\backend\widgets\Alert;
5 4
 use yii\widgets\Breadcrumbs;
6 5
 use zacksleo\yii2\backend\assets\AdminLteAsset;
7 6
 
Please login to merge, or discard this patch.
tests/models/User.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,6 @@
 block discarded – undo
9 9
 namespace zacksleo\yii2\backend\tests\models;
10 10
 
11 11
 use yii\base\InvalidParamException;
12
-use yii\helpers\ArrayHelper;
13 12
 
14 13
 class User extends \mdm\admin\models\User
15 14
 {
Please login to merge, or discard this patch.