@@ -1,14 +1,14 @@ discard block  | 
                                                    ||
| 1 | 1 | <?php  | 
                                                        
| 2 | 2 | |
| 3 | -$params = require __DIR__ . '/params.php';  | 
                                                        |
| 4 | -$db = require __DIR__ . '/db.php';  | 
                                                        |
| 3 | +$params = require __DIR__.'/params.php';  | 
                                                        |
| 4 | +$db = require __DIR__.'/db.php';  | 
                                                        |
| 5 | 5 | |
| 6 | 6 | $config = [  | 
                                                        
| 7 | 7 | 'id' => 'yii2_template_multilanguage',  | 
                                                        
| 8 | 8 | 'version' => '1.0.1',  | 
                                                        
| 9 | 9 | 'basePath' => dirname(__DIR__),  | 
                                                        
| 10 | 10 | 'homeUrl' => YII_DEBUG ? 'http://yii2-template-multilanguage' : 'http://yii2-template-multilanguage',  | 
                                                        
| 11 | - 'bootstrap' => ['log'],  | 
                                                        |
| 11 | + 'bootstrap' => [ 'log' ],  | 
                                                        |
| 12 | 12 | 'language' => 'en-US',  | 
                                                        
| 13 | 13 | 'aliases' => [  | 
                                                        
| 14 | 14 | '@bower' => '@vendor/bower-asset',  | 
                                                        
@@ -50,7 +50,7 @@ discard block  | 
                                                    ||
| 50 | 50 | 'targets' => [  | 
                                                        
| 51 | 51 | [  | 
                                                        
| 52 | 52 | 'class' => 'yii\log\FileTarget',  | 
                                                        
| 53 | - 'levels' => ['error', 'warning'],  | 
                                                        |
| 53 | + 'levels' => [ 'error', 'warning' ],  | 
                                                        |
| 54 | 54 | ],  | 
                                                        
| 55 | 55 | ],  | 
                                                        
| 56 | 56 | ],  | 
                                                        
@@ -207,18 +207,18 @@ discard block  | 
                                                    ||
| 207 | 207 | |
| 208 | 208 |  if (YII_ENV_DEV) { | 
                                                        
| 209 | 209 | // configuration adjustments for 'dev' environment  | 
                                                        
| 210 | - $config['bootstrap'][] = 'debug';  | 
                                                        |
| 211 | - $config['modules']['debug'] = [  | 
                                                        |
| 210 | + $config[ 'bootstrap' ][ ] = 'debug';  | 
                                                        |
| 211 | + $config[ 'modules' ][ 'debug' ] = [  | 
                                                        |
| 212 | 212 | 'class' => 'yii\debug\Module',  | 
                                                        
| 213 | 213 | // uncomment the following to add your IP if you are not connecting from localhost.  | 
                                                        
| 214 | - 'allowedIPs' => ['127.0.0.1', '::1', '*'],  | 
                                                        |
| 214 | + 'allowedIPs' => [ '127.0.0.1', '::1', '*' ],  | 
                                                        |
| 215 | 215 | ];  | 
                                                        
| 216 | 216 | |
| 217 | - $config['bootstrap'][] = 'gii';  | 
                                                        |
| 218 | - $config['modules']['gii'] = [  | 
                                                        |
| 217 | + $config[ 'bootstrap' ][ ] = 'gii';  | 
                                                        |
| 218 | + $config[ 'modules' ][ 'gii' ] = [  | 
                                                        |
| 219 | 219 | 'class' => 'yii\gii\Module',  | 
                                                        
| 220 | 220 | // uncomment the following to add your IP if you are not connecting from localhost.  | 
                                                        
| 221 | - 'allowedIPs' => ['127.0.0.1', '::1', '*'],  | 
                                                        |
| 221 | + 'allowedIPs' => [ '127.0.0.1', '::1', '*' ],  | 
                                                        |
| 222 | 222 | ];  | 
                                                        
| 223 | 223 | }  | 
                                                        
| 224 | 224 | |