Completed
Branch master (67220e)
by Alex
31:45
created
controllers/DefaultController.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@  discard block
 block discarded – undo
62 62
 
63 63
     /**
64 64
      * Lists all Settings.
65
-     * @return mixed
65
+     * @return string
66 66
      */
67 67
     public function actionIndex()
68 68
     {
@@ -81,7 +81,7 @@  discard block
 block discarded – undo
81 81
     /**
82 82
      * Displays the details of a single Setting.
83 83
      * @param integer $id
84
-     * @return mixed
84
+     * @return string
85 85
      */
86 86
     public function actionView($id)
87 87
     {
@@ -140,7 +140,7 @@  discard block
 block discarded – undo
140 140
      * Deletes an existing Setting.
141 141
      * If deletion is successful, the browser will be redirected to the 'index' page.
142 142
      * @param integer $id
143
-     * @return mixed
143
+     * @return \yii\web\Response
144 144
      */
145 145
     public function actionDelete($id)
146 146
     {
Please login to merge, or discard this patch.
models/BaseSetting.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,6 @@
 block discarded – undo
12 12
 use yii\db\Expression;
13 13
 use yii\db\ActiveRecord;
14 14
 use yii\helpers\ArrayHelper;
15
-use yii\base\InvalidParamException;
16 15
 use yii\behaviors\TimestampBehavior;
17 16
 
18 17
 /**
Please login to merge, or discard this patch.
models/Setting.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,6 @@
 block discarded – undo
7 7
 
8 8
 namespace pheme\settings\models;
9 9
 
10
-use Yii;
11 10
 use yii\helpers\Json;
12 11
 use yii\base\DynamicModel;
13 12
 use pheme\settings\Module;
Please login to merge, or discard this patch.