@@ -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, |
@@ -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\widgets; |
9 | 9 |
@@ -55,16 +55,16 @@ |
||
55 | 55 | ], parent::attributeLabels()); |
56 | 56 | } |
57 | 57 | |
58 | - /** |
|
59 | - * update user password when new password not blank. |
|
60 | - * |
|
61 | - */ |
|
58 | + /** |
|
59 | + * update user password when new password not blank. |
|
60 | + * |
|
61 | + */ |
|
62 | 62 | |
63 | 63 | public function beforeSave($insert) |
64 | 64 | { |
65 | 65 | if (parent::beforeSave($insert)) { |
66 | 66 | if (!$this->isNewRecord && $this->password != '') { |
67 | - $this->setPassword($this->password); |
|
67 | + $this->setPassword($this->password); |
|
68 | 68 | } |
69 | 69 | return true; |
70 | 70 | } else { |
@@ -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 |