@@ -62,7 +62,7 @@ discard block |
||
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 |
||
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 |
||
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 | { |
@@ -12,7 +12,6 @@ |
||
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 | /** |
@@ -7,7 +7,6 @@ |
||
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; |