@@ -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 | { |
@@ -36,9 +36,9 @@ |
||
36 | 36 | 'mail' => [ |
37 | 37 | 'class' => 'yii\swiftmailer\Mailer', |
38 | 38 | 'transport' => [ |
39 | - 'class' => 'Swift_SmtpTransport', |
|
40 | - 'host' => 'host-here', |
|
41 | - ], |
|
39 | + 'class' => 'Swift_SmtpTransport', |
|
40 | + 'host' => 'host-here', |
|
41 | + ], |
|
42 | 42 | ], |
43 | 43 | 'i18n' => [ |
44 | 44 | 'translations' => [ |