@@ -50,7 +50,7 @@ |
||
| 50 | 50 | $eventName = $reflect->getShortName(); |
| 51 | 51 | |
| 52 | 52 | // Bind an event handler |
| 53 | - $this->on($eventName, function ($event) { |
|
| 53 | + $this->on($eventName, function($event) { |
|
| 54 | 54 | $event->run(); |
| 55 | 55 | // The event should be handled in some way, if it isn't, called the global event handler and mark it as processed |
| 56 | 56 | if (!$event->handled) { |
@@ -8,7 +8,7 @@ |
||
| 8 | 8 | 'id' => $yaml['app']['id'], |
| 9 | 9 | 'name' => $yaml['app']['name'], |
| 10 | 10 | 'basePath' => dirname(__DIR__), |
| 11 | - 'bootstrap' => [ 'log' ], |
|
| 11 | + 'bootstrap' => ['log'], |
|
| 12 | 12 | 'language' => 'en-US', |
| 13 | 13 | 'sourceLanguage' => 'en-US', |
| 14 | 14 | 'components' => [ |
@@ -12,9 +12,9 @@ |
||
| 12 | 12 | 'schemaCacheDuration' => YII_DEBUG ? 0 : 86400, |
| 13 | 13 | 'schemaCache' => 'cache', |
| 14 | 14 | 'schemaMap' => [ |
| 15 | - 'pgsql'=> [ |
|
| 15 | + 'pgsql'=> [ |
|
| 16 | 16 | 'class'=>'yii\db\pgsql\Schema', |
| 17 | 17 | 'defaultSchema' => $config['yii2']['database']['schema'] |
| 18 | - ] |
|
| 18 | + ] |
|
| 19 | 19 | ] |
| 20 | 20 | ]; |
| 21 | 21 | \ No newline at end of file |