Passed
Push — master ( a34fdb...414c4f )
by Tobias
12:27
created
src/views/layouts/main.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -52,14 +52,14 @@  discard block
 block discarded – undo
52 52
 // SEO
53 53
 $route = Url::toRoute(Yii::$app->controller->action->uniqueId);
54 54
 if ($keywords = \Yii::$app->settings->get($route, 'app.seo.keywords', null)) {
55
-    $this->registerMetaTag(['name' => 'keywords', 'content' => $keywords]);
55
+    $this->registerMetaTag([ 'name' => 'keywords', 'content' => $keywords ]);
56 56
 }
57 57
 if ($description = \Yii::$app->settings->get($route, 'app.seo.descriptions', null)) {
58
-    $this->registerMetaTag(['name' => 'description', 'content' => $description]);
58
+    $this->registerMetaTag([ 'name' => 'description', 'content' => $description ]);
59 59
 }
60 60
 
61 61
 if ($favicon = \Yii::$app->settings->get('faviconPng', 'app.assets', null)) {
62
-    $this->registerLinkTag(['rel' => 'shortcut icon', 'type'=>'image/png', 'href' => $favicon]);
62
+    $this->registerLinkTag([ 'rel' => 'shortcut icon', 'type'=>'image/png', 'href' => $favicon ]);
63 63
 }
64 64
 
65 65
 ?>
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
     <meta name="viewport" content="width=device-width, initial-scale=1">
74 74
     <?= Html::csrfMetaTags() ?>
75 75
     <title><?= Html::encode($this->title) ?></title>
76
-    <?= TwigWidget::widget(['key' => '_head']) ?>
76
+    <?= TwigWidget::widget([ 'key' => '_head' ]) ?>
77 77
     <?php $this->head() ?>
78 78
 </head>
79 79
 
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
 <!-- Navbar -->
85 85
 <?php
86 86
 if (Yii::$app->settings->get('enableTwigNavbar', 'app.layout', false)) {
87
-    echo \dmstr\modules\prototype\widgets\TwigWidget::widget(['key' => '_navbar']);
87
+    echo \dmstr\modules\prototype\widgets\TwigWidget::widget([ 'key' => '_navbar' ]);
88 88
 } else {
89 89
     echo $this->render('_navbar');
90 90
 }
@@ -108,7 +108,7 @@  discard block
 block discarded – undo
108 108
 
109 109
 <!-- Footer -->
110 110
 <footer class="footer">
111
-    <?= Cell::widget(['id' => '_footer', 'requestParam' => '_global']) ?>
111
+    <?= Cell::widget([ 'id' => '_footer', 'requestParam' => '_global' ]) ?>
112 112
 </footer>
113 113
 
114 114
 <!-- Info Modal -->
@@ -117,7 +117,7 @@  discard block
 block discarded – undo
117 117
     <?= Html::a(
118 118
         '<i class="fa fa-heartbeat"></i>',
119 119
         '#',
120
-        ['class' => 'text-muted', 'data-toggle' => 'modal', 'data-target' => '#infoModal']
120
+        [ 'class' => 'text-muted', 'data-toggle' => 'modal', 'data-target' => '#infoModal' ]
121 121
     ) ?>
122 122
     </p>
123 123
 </div>
Please login to merge, or discard this patch.