@@ -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 | { |
@@ -28,7 +28,8 @@ discard block |
||
28 | 28 | <?php endif; ?> |
29 | 29 | </p> |
30 | 30 | |
31 | - <?php else: ?> |
|
31 | + <?php else { |
|
32 | + : ?> |
|
32 | 33 | |
33 | 34 | <p> |
34 | 35 | If you have business inquiries or other questions, please fill out the following form to contact us. Thank you. |
@@ -36,7 +37,9 @@ discard block |
||
36 | 37 | |
37 | 38 | <div class="row"> |
38 | 39 | <div class="col-lg-5"> |
39 | - <?php $form = ActiveForm::begin(['id' => 'contact-form']); ?> |
|
40 | + <?php $form = ActiveForm::begin(['id' => 'contact-form']); |
|
41 | +} |
|
42 | +?> |
|
40 | 43 | <?php echo $form->field($model, 'name'); ?> |
41 | 44 | <?php echo $form->field($model, 'email'); ?> |
42 | 45 | <?php echo $form->field($model, 'subject'); ?> |