@@ -31,6 +31,10 @@ |
||
31 | 31 | } |
32 | 32 | |
33 | 33 | if (!function_exists('__c3_error')) { |
34 | + |
|
35 | + /** |
|
36 | + * @param string $message |
|
37 | + */ |
|
34 | 38 | function __c3_error($message) |
35 | 39 | { |
36 | 40 | /* file_put_contents(C3_CODECOVERAGE_MEDIATE_STORAGE . DIRECTORY_SEPARATOR . 'error.txt', $message); |
@@ -50,7 +50,7 @@ discard block |
||
50 | 50 | |
51 | 51 | /** |
52 | 52 | * Lists all users. |
53 | - * @return mixed |
|
53 | + * @return string |
|
54 | 54 | */ |
55 | 55 | public function actionIndex() |
56 | 56 | { |
@@ -109,7 +109,7 @@ discard block |
||
109 | 109 | * Deletes an existing UserModel model. |
110 | 110 | * If deletion is successful, the browser will be redirected to the 'index' page. |
111 | 111 | * @param integer $id |
112 | - * @return mixed |
|
112 | + * @return \yii\web\Response |
|
113 | 113 | */ |
114 | 114 | public function actionDelete($id) |
115 | 115 | { |
@@ -9,7 +9,6 @@ |
||
9 | 9 | use yii\web\NotFoundHttpException; |
10 | 10 | use yii\filters\VerbFilter; |
11 | 11 | use yii2mod\editable\EditableAction; |
12 | -use yii2mod\user\models\SignupForm; |
|
13 | 12 | |
14 | 13 | /** |
15 | 14 | * UserController implements the CRUD actions for UserModel model. |
@@ -1,5 +1,4 @@ |
||
1 | 1 | <?php |
2 | -use app\widgets\Alert; |
|
3 | 2 | use kartik\alert\AlertBlock; |
4 | 3 | use yii\helpers\Html; |
5 | 4 | use yii\bootstrap\Nav; |