@@ -29,8 +29,8 @@ discard block  | 
                                                    ||
| 29 | 29 | </tr>  | 
                                                        
| 30 | 30 | <tr>  | 
                                                        
| 31 | 31 | <th>Virtual Host</th>  | 
                                                        
| 32 | - <td><code><?= isset($_SERVER['HTTP_HOST']) ?  | 
                                                        |
| 33 | - $_SERVER['HTTP_HOST'] : 'n/a' ?></code></td>  | 
                                                        |
| 32 | + <td><code><?= isset($_SERVER[ 'HTTP_HOST' ]) ?  | 
                                                        |
| 33 | + $_SERVER[ 'HTTP_HOST' ] : 'n/a' ?></code></td>  | 
                                                        |
| 34 | 34 | </tr>  | 
                                                        
| 35 | 35 | <tr>  | 
                                                        
| 36 | 36 | <th>Hostname</th>  | 
                                                        
@@ -46,7 +46,7 @@ discard block  | 
                                                    ||
| 46 | 46 | </div>  | 
                                                        
| 47 | 47 | |
| 48 | 48 | <div class="pull-right">  | 
                                                        
| 49 | - <?= Html::a(FA::icon(FA::_COG), ['/backend'], ['class' => 'btn btn-default btn-xs']) ?>  | 
                                                        |
| 49 | + <?= Html::a(FA::icon(FA::_COG), [ '/backend' ], [ 'class' => 'btn btn-default btn-xs' ]) ?>  | 
                                                        |
| 50 | 50 | </div>  | 
                                                        
| 51 | 51 | <div class="clearfix"></div>  | 
                                                        
| 52 | 52 | |
@@ -17,10 +17,10 @@ discard block  | 
                                                    ||
| 17 | 17 | |
| 18 | 18 | // Settings for web-application only  | 
                                                        
| 19 | 19 | return [  | 
                                                        
| 20 | -    'on registerMenuItems' => function ($event) { | 
                                                        |
| 20 | +    'on registerMenuItems' => function($event) { | 
                                                        |
| 21 | 21 |          if ($event->sender instanceof ContextMenuItemsInterface) { | 
                                                        
| 22 | - Yii::$app->params['context.menuItems'] = ArrayHelper::merge(  | 
                                                        |
| 23 | - Yii::$app->params['context.menuItems'],  | 
                                                        |
| 22 | + Yii::$app->params[ 'context.menuItems' ] = ArrayHelper::merge(  | 
                                                        |
| 23 | + Yii::$app->params[ 'context.menuItems' ],  | 
                                                        |
| 24 | 24 | $event->sender->getMenuItems()  | 
                                                        
| 25 | 25 | );  | 
                                                        
| 26 | 26 | }  | 
                                                        
@@ -37,8 +37,8 @@ discard block  | 
                                                    ||
| 37 | 37 | 'web' => [  | 
                                                        
| 38 | 38 | 'class' => Target::class,  | 
                                                        
| 39 | 39 | 'url' => 'php://stdout',  | 
                                                        
| 40 | - 'levels' => ['info', 'trace'],  | 
                                                        |
| 41 | - 'logVars' => [],  | 
                                                        |
| 40 | + 'levels' => [ 'info', 'trace' ],  | 
                                                        |
| 41 | + 'logVars' => [ ],  | 
                                                        |
| 42 | 42 | 'replaceNewline' => YII_DEBUG ? null : '',  | 
                                                        
| 43 | 43 | 'enabled' => YII_DEBUG && !YII_ENV_TEST,  | 
                                                        
| 44 | 44 | ],  | 
                                                        
@@ -58,7 +58,7 @@ discard block  | 
                                                    ||
| 58 | 58 | 'settings' => [  | 
                                                        
| 59 | 59 | 'class' => SettingsModule::class,  | 
                                                        
| 60 | 60 | 'layout' => '@backend/views/layouts/box',  | 
                                                        
| 61 | - 'accessRoles' => ['settings-module'],  | 
                                                        |
| 61 | + 'accessRoles' => [ 'settings-module' ],  | 
                                                        |
| 62 | 62 | ],  | 
                                                        
| 63 | 63 | ],  | 
                                                        
| 64 | 64 | ];  | 
                                                        
@@ -13,7 +13,7 @@  | 
                                                    ||
| 13 | 13 | public function safeUp()  | 
                                                        
| 14 | 14 |      { | 
                                                        
| 15 | 15 |          $table = $this->db->schema->getTableSchema('{{%migration}}'); | 
                                                        
| 16 | -        if (isset($table->columns['alias'])) { | 
                                                        |
| 16 | +        if (isset($table->columns[ 'alias' ])) { | 
                                                        |
| 17 | 17 | // Column exists  | 
                                                        
| 18 | 18 |              $this->alterColumn('{{%migration}}', 'alias', 'varchar(180) DEFAULT NULL'); | 
                                                        
| 19 | 19 | }  | 
                                                        
@@ -32,13 +32,13 @@  | 
                                                    ||
| 32 | 32 |  $dotenv->required('YII_DEBUG', ['', '0', '1', 'true', true]); | 
                                                        
| 33 | 33 |  $dotenv->required('YII_ENV', ['dev', 'prod', 'test']); | 
                                                        
| 34 | 34 | $dotenv->required([  | 
                                                        
| 35 | - 'YII_TRACE_LEVEL',  | 
                                                        |
| 36 | - 'APP_NAME',  | 
                                                        |
| 37 | - 'APP_TITLE',  | 
                                                        |
| 38 | - 'APP_ADMIN_EMAIL',  | 
                                                        |
| 39 | - 'APP_LANGUAGES',  | 
                                                        |
| 40 | - 'APP_COOKIE_VALIDATION_KEY',  | 
                                                        |
| 41 | - ])->notEmpty();  | 
                                                        |
| 35 | + 'YII_TRACE_LEVEL',  | 
                                                        |
| 36 | + 'APP_NAME',  | 
                                                        |
| 37 | + 'APP_TITLE',  | 
                                                        |
| 38 | + 'APP_ADMIN_EMAIL',  | 
                                                        |
| 39 | + 'APP_LANGUAGES',  | 
                                                        |
| 40 | + 'APP_COOKIE_VALIDATION_KEY',  | 
                                                        |
| 41 | + ])->notEmpty();  | 
                                                        |
| 42 | 42 | |
| 43 | 43 | // Additional validations  | 
                                                        
| 44 | 44 |  if (!preg_match('/^[a-z0-9_-]{2,16}$/', getenv('APP_NAME'))) { | 
                                                        
@@ -16,12 +16,12 @@ discard block  | 
                                                    ||
| 16 | 16 | |
| 17 | 17 | // Load default settings via dotenv from file, load local environment first, if available  | 
                                                        
| 18 | 18 |  if (getenv('ENV_LOCAL_FILE')) { | 
                                                        
| 19 | -    $localEnv = FileHelper::normalizePath($configPath . '/' . getenv('ENV_LOCAL_FILE')); | 
                                                        |
| 19 | +    $localEnv = FileHelper::normalizePath($configPath.'/'.getenv('ENV_LOCAL_FILE')); | 
                                                        |
| 20 | 20 |      if (is_file($localEnv)) { | 
                                                        
| 21 | 21 |          $dotenvLocal = Dotenv::createUnsafeImmutable($configPath, getenv('ENV_LOCAL_FILE')); | 
                                                        
| 22 | 22 | $dotenvLocal->load();  | 
                                                        
| 23 | 23 |      } else { | 
                                                        
| 24 | -        exit("Error: ENV_LOCAL_FILE '{$localEnv}' not found" . PHP_EOL); | 
                                                        |
| 24 | +        exit("Error: ENV_LOCAL_FILE '{$localEnv}' not found".PHP_EOL); | 
                                                        |
| 25 | 25 | }  | 
                                                        
| 26 | 26 | }  | 
                                                        
| 27 | 27 | |
@@ -30,8 +30,8 @@ discard block  | 
                                                    ||
| 30 | 30 | $dotenv->load();  | 
                                                        
| 31 | 31 | |
| 32 | 32 | // Basic checks & validation  | 
                                                        
| 33 | -$dotenv->required('YII_DEBUG', ['', '0', '1', 'true', true]); | 
                                                        |
| 34 | -$dotenv->required('YII_ENV', ['dev', 'prod', 'test']); | 
                                                        |
| 33 | +$dotenv->required('YII_DEBUG', [ '', '0', '1', 'true', true ]); | 
                                                        |
| 34 | +$dotenv->required('YII_ENV', [ 'dev', 'prod', 'test' ]); | 
                                                        |
| 35 | 35 | $dotenv->required([  | 
                                                        
| 36 | 36 | 'YII_TRACE_LEVEL',  | 
                                                        
| 37 | 37 | 'APP_NAME',  | 
                                                        
@@ -4,5 +4,5 @@  | 
                                                    ||
| 4 | 4 | |
| 5 | 5 | ?>  | 
                                                        
| 6 | 6 | <div class="site-index">  | 
                                                        
| 7 | - <?= TwigWidget::widget(['registerMenuItems' => true]) ?>  | 
                                                        |
| 7 | + <?= TwigWidget::widget([ 'registerMenuItems' => true ]) ?>  | 
                                                        |
| 8 | 8 | </div>  | 
                                                        
@@ -24,8 +24,8 @@ discard block  | 
                                                    ||
| 24 | 24 | /* @var $this \yii\web\View */  | 
                                                        
| 25 | 25 | /* @var $content string */  | 
                                                        
| 26 | 26 | |
| 27 | -$this->title .= ' - ' . getenv('APP_TITLE'); | 
                                                        |
| 28 | -$this->title = (getenv('APP_PAGES_TITLE_PREFIX') ?? '') . $this->title; | 
                                                        |
| 27 | +$this->title .= ' - '.getenv('APP_TITLE'); | 
                                                        |
| 28 | +$this->title = (getenv('APP_PAGES_TITLE_PREFIX') ?? '').$this->title; | 
                                                        |
| 29 | 29 | |
| 30 | 30 | SettingsAsset::register($this);  | 
                                                        
| 31 | 31 | |
@@ -33,18 +33,18 @@ discard block  | 
                                                    ||
| 33 | 33 | Event::on(  | 
                                                        
| 34 | 34 | View::class,  | 
                                                        
| 35 | 35 | View::EVENT_AFTER_RENDER,  | 
                                                        
| 36 | -        function ($e) { | 
                                                        |
| 36 | +        function($e) { | 
                                                        |
| 37 | 37 | // disable unbundled asset  | 
                                                        
| 38 | - $e->sender->assetBundles['yii\\bootstrap\\BootstrapAsset'] = null;  | 
                                                        |
| 38 | + $e->sender->assetBundles[ 'yii\\bootstrap\\BootstrapAsset' ] = null;  | 
                                                        |
| 39 | 39 | // disable bundled asset  | 
                                                        
| 40 | - $e->sender->assetBundles['bootstrap'] = null;  | 
                                                        |
| 40 | + $e->sender->assetBundles[ 'bootstrap' ] = null;  | 
                                                        |
| 41 | 41 | }  | 
                                                        
| 42 | 42 | );  | 
                                                        
| 43 | 43 | }  | 
                                                        
| 44 | 44 | |
| 45 | 45 | // Favicon  | 
                                                        
| 46 | 46 |  if ($favicon = \Yii::$app->settings->get('faviconPng', 'app.assets')) { | 
                                                        
| 47 | - $this->registerLinkTag(['rel' => 'shortcut icon', 'type' => 'image/png', 'href' => $favicon]);  | 
                                                        |
| 47 | + $this->registerLinkTag([ 'rel' => 'shortcut icon', 'type' => 'image/png', 'href' => $favicon ]);  | 
                                                        |
| 48 | 48 | }  | 
                                                        
| 49 | 49 | |
| 50 | 50 | ?>  | 
                                                        
@@ -65,12 +65,12 @@ discard block  | 
                                                    ||
| 65 | 65 | |
| 66 | 66 | <?php $this->beginBody() ?>  | 
                                                        
| 67 | 67 | |
| 68 | -<?= TwigWidget::widget(['key' => '_beginBody', 'renderEmpty' => false]) ?>  | 
                                                        |
| 68 | +<?= TwigWidget::widget([ 'key' => '_beginBody', 'renderEmpty' => false ]) ?>  | 
                                                        |
| 69 | 69 | |
| 70 | 70 | <!-- Navbar -->  | 
                                                        
| 71 | 71 | <?php  | 
                                                        
| 72 | 72 |  if (Yii::$app->settings->get('enableTwigNavbar', 'app.layout', false)) { | 
                                                        
| 73 | - echo TwigWidget::widget(['key' => '_navbar']);  | 
                                                        |
| 73 | + echo TwigWidget::widget([ 'key' => '_navbar' ]);  | 
                                                        |
| 74 | 74 |  } else { | 
                                                        
| 75 | 75 |      echo $this->render('_navbar'); | 
                                                        
| 76 | 76 | }  | 
                                                        
@@ -78,7 +78,7 @@ discard block  | 
                                                    ||
| 78 | 78 | ?>  | 
                                                        
| 79 | 79 | |
| 80 | 80 | <!-- Content -->  | 
                                                        
| 81 | -<?= TwigWidget::widget(['key' => '_beforeContent', 'renderEmpty' => false]) ?>  | 
                                                        |
| 81 | +<?= TwigWidget::widget([ 'key' => '_beforeContent', 'renderEmpty' => false ]) ?>  | 
                                                        |
| 82 | 82 | |
| 83 | 83 | <div class="wrap">  | 
                                                        
| 84 | 84 | |
@@ -86,12 +86,12 @@ discard block  | 
                                                    ||
| 86 | 86 | |
| 87 | 87 | </div>  | 
                                                        
| 88 | 88 | |
| 89 | -<?= TwigWidget::widget(['key' => '_afterContent', 'renderEmpty' => false]) ?>  | 
                                                        |
| 89 | +<?= TwigWidget::widget([ 'key' => '_afterContent', 'renderEmpty' => false ]) ?>  | 
                                                        |
| 90 | 90 | |
| 91 | 91 | |
| 92 | 92 | <!-- Footer -->  | 
                                                        
| 93 | 93 | <footer class="footer">  | 
                                                        
| 94 | - <?= Cell::widget(['id' => '_footer', 'requestParam' => '_global']) ?>  | 
                                                        |
| 94 | + <?= Cell::widget([ 'id' => '_footer', 'requestParam' => '_global' ]) ?>  | 
                                                        |
| 95 | 95 | </footer>  | 
                                                        
| 96 | 96 | |
| 97 | 97 | <!-- User flash messages -->  | 
                                                        
@@ -105,7 +105,7 @@ discard block  | 
                                                    ||
| 105 | 105 | ],  | 
                                                        
| 106 | 106 | ]) ?>  | 
                                                        
| 107 | 107 | |
| 108 | -<?= TwigWidget::widget(['key' => '_endBody', 'renderEmpty' => false]) ?>  | 
                                                        |
| 108 | +<?= TwigWidget::widget([ 'key' => '_endBody', 'renderEmpty' => false ]) ?>  | 
                                                        |
| 109 | 109 | |
| 110 | 110 |  <?php if (Yii::$app->user->can('backend_default_index')): ?> | 
                                                        
| 111 | 111 | |
@@ -24,8 +24,8 @@ discard block  | 
                                                    ||
| 24 | 24 | /* @var $this \yii\web\View */  | 
                                                        
| 25 | 25 | /* @var $content string */  | 
                                                        
| 26 | 26 | |
| 27 | -$this->title .= ' - ' . getenv('APP_TITLE'); | 
                                                        |
| 28 | -$this->title = (getenv('APP_PAGES_TITLE_PREFIX') ?? '') . $this->title; | 
                                                        |
| 27 | +$this->title .= ' - '.getenv('APP_TITLE'); | 
                                                        |
| 28 | +$this->title = (getenv('APP_PAGES_TITLE_PREFIX') ?? '').$this->title; | 
                                                        |
| 29 | 29 | |
| 30 | 30 | SettingsAsset::register($this);  | 
                                                        
| 31 | 31 | |
@@ -33,18 +33,18 @@ discard block  | 
                                                    ||
| 33 | 33 | Event::on(  | 
                                                        
| 34 | 34 | View::class,  | 
                                                        
| 35 | 35 | View::EVENT_AFTER_RENDER,  | 
                                                        
| 36 | -        function ($e) { | 
                                                        |
| 36 | +        function($e) { | 
                                                        |
| 37 | 37 | // disable unbundled asset  | 
                                                        
| 38 | - $e->sender->assetBundles['yii\\bootstrap\\BootstrapAsset'] = null;  | 
                                                        |
| 38 | + $e->sender->assetBundles[ 'yii\\bootstrap\\BootstrapAsset' ] = null;  | 
                                                        |
| 39 | 39 | // disable bundled asset  | 
                                                        
| 40 | - $e->sender->assetBundles['bootstrap'] = null;  | 
                                                        |
| 40 | + $e->sender->assetBundles[ 'bootstrap' ] = null;  | 
                                                        |
| 41 | 41 | }  | 
                                                        
| 42 | 42 | );  | 
                                                        
| 43 | 43 | }  | 
                                                        
| 44 | 44 | |
| 45 | 45 | // Favicon  | 
                                                        
| 46 | 46 |  if ($favicon = \Yii::$app->settings->get('faviconPng', 'app.assets')) { | 
                                                        
| 47 | - $this->registerLinkTag(['rel' => 'shortcut icon', 'type' => 'image/png', 'href' => $favicon]);  | 
                                                        |
| 47 | + $this->registerLinkTag([ 'rel' => 'shortcut icon', 'type' => 'image/png', 'href' => $favicon ]);  | 
                                                        |
| 48 | 48 | }  | 
                                                        
| 49 | 49 | |
| 50 | 50 | ?>  | 
                                                        
@@ -8,25 +8,25 @@ discard block  | 
                                                    ||
| 8 | 8 | use Yii;  | 
                                                        
| 9 | 9 | |
| 10 | 10 | // initialize local variables  | 
                                                        
| 11 | -$menuItems = [];  | 
                                                        |
| 12 | -$languageItems = [];  | 
                                                        |
| 11 | +$menuItems = [ ];  | 
                                                        |
| 12 | +$languageItems = [ ];  | 
                                                        |
| 13 | 13 | |
| 14 | 14 | |
| 15 | 15 | // prepare languages  | 
                                                        
| 16 | 16 |  foreach (Yii::$app->urlManager->languages as $language) { | 
                                                        
| 17 | - $languageItems[] = [  | 
                                                        |
| 18 | - 'url' => ['/', Yii::$app->urlManager->languageParam => $language],  | 
                                                        |
| 17 | + $languageItems[ ] = [  | 
                                                        |
| 18 | + 'url' => [ '/', Yii::$app->urlManager->languageParam => $language ],  | 
                                                        |
| 19 | 19 | 'label' => $language,  | 
                                                        
| 20 | 20 | ];  | 
                                                        
| 21 | 21 | }  | 
                                                        
| 22 | 22 | |
| 23 | 23 | // add language items to menu  | 
                                                        
| 24 | -$menuItems[] = [  | 
                                                        |
| 24 | +$menuItems[ ] = [  | 
                                                        |
| 25 | 25 |      'label' =>  Yii::t('app', '{icon} {language}', [ | 
                                                        
| 26 | 26 | 'icon' => '<i class="glyphicon glyphicon-globe"></i>',  | 
                                                        
| 27 | 27 | 'language' => Yii::$app->language  | 
                                                        
| 28 | 28 | ]),  | 
                                                        
| 29 | - 'options' => ['id' => 'link-languages-menu'],  | 
                                                        |
| 29 | + 'options' => [ 'id' => 'link-languages-menu' ],  | 
                                                        |
| 30 | 30 | 'items' => $languageItems,  | 
                                                        
| 31 | 31 | ];  | 
                                                        
| 32 | 32 | |
@@ -35,39 +35,39 @@ discard block  | 
                                                    ||
| 35 | 35 |      if (Yii::$app->user->isGuest) { | 
                                                        
| 36 | 36 | // unauthorized users  | 
                                                        
| 37 | 37 | //$menuItems[] = ['label' => 'Signup', 'url' => ['/user/registration/register']];  | 
                                                        
| 38 | - $menuItems[] = [  | 
                                                        |
| 38 | + $menuItems[ ] = [  | 
                                                        |
| 39 | 39 |              'label' => Yii::t('app', 'Login'), | 
                                                        
| 40 | - 'url' => ['/user/security/login'],  | 
                                                        |
| 41 | - 'linkOptions' => ['id' => 'link-login'],  | 
                                                        |
| 40 | + 'url' => [ '/user/security/login' ],  | 
                                                        |
| 41 | + 'linkOptions' => [ 'id' => 'link-login' ],  | 
                                                        |
| 42 | 42 | ];  | 
                                                        
| 43 | 43 |      } else { | 
                                                        
| 44 | 44 | // logged in users  | 
                                                        
| 45 | - $menuItems[] = [  | 
                                                        |
| 45 | + $menuItems[ ] = [  | 
                                                        |
| 46 | 46 |              'label' => Yii::t('app', '{icon} {username}', [ | 
                                                        
| 47 | 47 | 'icon' => '<i class="glyphicon glyphicon-user"></i>',  | 
                                                        
| 48 | 48 | 'username' => Yii::$app->user->identity->username  | 
                                                        
| 49 | 49 | ]),  | 
                                                        
| 50 | - 'options' => ['id' => 'link-user-menu'],  | 
                                                        |
| 50 | + 'options' => [ 'id' => 'link-user-menu' ],  | 
                                                        |
| 51 | 51 | 'items' => [  | 
                                                        
| 52 | 52 | [  | 
                                                        
| 53 | 53 |                      'label' => Yii::t('app', '{icon} Profile', [ | 
                                                        
| 54 | 54 | 'icon' => '<i class="glyphicon glyphicon-user"></i>'  | 
                                                        
| 55 | 55 | ]),  | 
                                                        
| 56 | - 'url' => ['/user/profile/show', 'id' => Yii::$app->user->id],  | 
                                                        |
| 56 | + 'url' => [ '/user/profile/show', 'id' => Yii::$app->user->id ],  | 
                                                        |
| 57 | 57 | ],  | 
                                                        
| 58 | 58 | [  | 
                                                        
| 59 | 59 |                      'label' => Yii::t('app', '{icon} Settings', [ | 
                                                        
| 60 | 60 | 'icon' => '<i class="glyphicon glyphicon-cog"></i>'  | 
                                                        
| 61 | 61 | ]),  | 
                                                        
| 62 | - 'url' => ['/user/settings/profile'],  | 
                                                        |
| 62 | + 'url' => [ '/user/settings/profile' ],  | 
                                                        |
| 63 | 63 | ],  | 
                                                        
| 64 | 64 | '<li class="divider"></li>',  | 
                                                        
| 65 | 65 | [  | 
                                                        
| 66 | 66 |                      'label' => Yii::t('app', '{icon} Logout', [ | 
                                                        
| 67 | 67 | 'icon' => '<i class="glyphicon glyphicon-log-out"></i>'  | 
                                                        
| 68 | 68 | ]),  | 
                                                        
| 69 | - 'url' => ['/user/security/logout'],  | 
                                                        |
| 70 | - 'linkOptions' => ['data-method' => 'post', 'id' => 'link-logout'],  | 
                                                        |
| 69 | + 'url' => [ '/user/security/logout' ],  | 
                                                        |
| 70 | + 'linkOptions' => [ 'data-method' => 'post', 'id' => 'link-logout' ],  | 
                                                        |
| 71 | 71 | ],  | 
                                                        
| 72 | 72 | ],  | 
                                                        
| 73 | 73 | ];  | 
                                                        
@@ -88,7 +88,7 @@ discard block  | 
                                                    ||
| 88 | 88 | // render root pages  | 
                                                        
| 89 | 89 | echo Nav::widget(  | 
                                                        
| 90 | 90 | [  | 
                                                        
| 91 | - 'options' => ['class' => 'navbar-nav'],  | 
                                                        |
| 91 | + 'options' => [ 'class' => 'navbar-nav' ],  | 
                                                        |
| 92 | 92 | 'encodeLabels' => false,  | 
                                                        
| 93 | 93 |          'items' => Tree::getMenuItems('root'), | 
                                                        
| 94 | 94 | ]  | 
                                                        
@@ -97,7 +97,7 @@ discard block  | 
                                                    ||
| 97 | 97 | // render additional menu items (languages, user)  | 
                                                        
| 98 | 98 | echo Nav::widget(  | 
                                                        
| 99 | 99 | [  | 
                                                        
| 100 | - 'options' => ['class' => 'navbar-nav navbar-right'],  | 
                                                        |
| 100 | + 'options' => [ 'class' => 'navbar-nav navbar-right' ],  | 
                                                        |
| 101 | 101 | 'encodeLabels' => false,  | 
                                                        
| 102 | 102 | 'items' => $menuItems,  | 
                                                        
| 103 | 103 | ]  | 
                                                        
@@ -11,7 +11,7 @@  | 
                                                    ||
| 11 | 11 | |
| 12 | 12 | <div class="container-layout">  | 
                                                        
| 13 | 13 | <div class="container-fluid">  | 
                                                        
| 14 | - <?= Breadcrumbs::widget(['links' => $this->params['breadcrumbs'] ?? []]) ?>  | 
                                                        |
| 14 | + <?= Breadcrumbs::widget([ 'links' => $this->params[ 'breadcrumbs' ] ?? [ ] ]) ?>  | 
                                                        |
| 15 | 15 | </div>  | 
                                                        
| 16 | 16 | |
| 17 | 17 | <div class="container-fluid">  |