@@ -11,7 +11,7 @@ discard block |
||
| 11 | 11 | 'common\interfaces\BehaviorInterface' => \common\models\Behavior::class, |
| 12 | 12 | 'common\interfaces\CategoryInterface' => \common\models\Category::class, |
| 13 | 13 | 'common\interfaces\CustomBehaviorInterface' => \common\models\CustomBehavior::class, |
| 14 | - 'common\interfaces\TimeInterface' => function () { |
|
| 14 | + 'common\interfaces\TimeInterface' => function() { |
|
| 15 | 15 | if (Yii::$app->user->getIsGuest()) { |
| 16 | 16 | return new \common\components\Time('UTC'); |
| 17 | 17 | } else { |
@@ -30,7 +30,7 @@ discard block |
||
| 30 | 30 | ], |
| 31 | 31 | 'components' => [ |
| 32 | 32 | // by default, sessions are stored in a local file |
| 33 | - 'cache' => [ // DummyCache never actually caches anything |
|
| 33 | + 'cache' => [// DummyCache never actually caches anything |
|
| 34 | 34 | 'class'=> yii\caching\DummyCache::class, |
| 35 | 35 | ], |
| 36 | 36 | 'mailer' => [ |