@@ -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,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 | |
@@ -40,7 +40,7 @@ discard block |
||
| 40 | 40 | ], $tableOptions); |
| 41 | 41 | |
| 42 | 42 | //Create Cms table |
| 43 | - $this->createTable('{{%Cms}}', [ |
|
| 43 | + $this->createTable('{{%Cms}}', [ |
|
| 44 | 44 | 'id' => Schema::TYPE_PK, |
| 45 | 45 | 'url' => Schema::TYPE_STRING . '(255)', |
| 46 | 46 | 'title' => Schema::TYPE_STRING . '(255)', |
@@ -113,7 +113,7 @@ discard block |
||
| 113 | 113 | 'data' => 'LONGBLOB' |
| 114 | 114 | ]); |
| 115 | 115 | |
| 116 | - $this->createTable('{{%AuthRule}}', [ |
|
| 116 | + $this->createTable('{{%AuthRule}}', [ |
|
| 117 | 117 | 'name' => Schema::TYPE_STRING . '(64) NOT NULL', |
| 118 | 118 | 'data' => Schema::TYPE_TEXT, |
| 119 | 119 | 'created_at' => Schema::TYPE_INTEGER, |