@@ -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 | { |
@@ -1,9 +1,9 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * @link http://www.yiiframework.com/ |
|
| 4 | - * @copyright Copyright (c) 2008 Yii Software LLC |
|
| 5 | - * @license http://www.yiiframework.com/license/ |
|
| 6 | - */ |
|
| 3 | + * @link http://www.yiiframework.com/ |
|
| 4 | + * @copyright Copyright (c) 2008 Yii Software LLC |
|
| 5 | + * @license http://www.yiiframework.com/license/ |
|
| 6 | + */ |
|
| 7 | 7 | |
| 8 | 8 | namespace app\assets; |
| 9 | 9 | |
@@ -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' => [ |
@@ -1,14 +1,14 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * Application requirement checker script. |
|
| 4 | - * |
|
| 5 | - * In order to run this script use the following console command: |
|
| 6 | - * php requirements.php |
|
| 7 | - * |
|
| 8 | - * In order to run this script from the web, you should copy it to the web root. |
|
| 9 | - * If you are using Linux you can create a hard link instead, using the following command: |
|
| 10 | - * ln requirements.php ../requirements.php |
|
| 11 | - */ |
|
| 3 | + * Application requirement checker script. |
|
| 4 | + * |
|
| 5 | + * In order to run this script use the following console command: |
|
| 6 | + * php requirements.php |
|
| 7 | + * |
|
| 8 | + * In order to run this script from the web, you should copy it to the web root. |
|
| 9 | + * If you are using Linux you can create a hard link instead, using the following command: |
|
| 10 | + * ln requirements.php ../requirements.php |
|
| 11 | + */ |
|
| 12 | 12 | |
| 13 | 13 | // you may need to adjust this path to the correct Yii framework path |
| 14 | 14 | $frameworkPath = dirname(__FILE__) . '/vendor/yiisoft/yii2'; |
@@ -1,8 +1,8 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * User Model Search |
|
| 4 | - * @author Igor Chepurnoy |
|
| 5 | - */ |
|
| 3 | + * User Model Search |
|
| 4 | + * @author Igor Chepurnoy |
|
| 5 | + */ |
|
| 6 | 6 | |
| 7 | 7 | namespace app\models; |
| 8 | 8 | |