Passed
Push — master ( fc77c8...25e22e )
by Tobias
14:06
created
src/views/layouts/main.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -51,14 +51,14 @@  discard block
 block discarded – undo
51 51
 // SEO
52 52
 $route = Url::toRoute(Yii::$app->controller->action->uniqueId);
53 53
 if ($keywords = \Yii::$app->settings->get($route, 'app.seo.keywords', null)) {
54
-    $this->registerMetaTag(['name' => 'keywords', 'content' => $keywords]);
54
+    $this->registerMetaTag([ 'name' => 'keywords', 'content' => $keywords ]);
55 55
 }
56 56
 if ($description = \Yii::$app->settings->get($route, 'app.seo.descriptions', null)) {
57
-    $this->registerMetaTag(['name' => 'description', 'content' => $description]);
57
+    $this->registerMetaTag([ 'name' => 'description', 'content' => $description ]);
58 58
 }
59 59
 
60 60
 if ($favicon = \Yii::$app->settings->get('faviconPng', 'app.assets', null)) {
61
-    $this->registerLinkTag(['rel' => 'shortcut icon', 'type'=>'image/png', 'href' => $favicon]);
61
+    $this->registerLinkTag([ 'rel' => 'shortcut icon', 'type'=>'image/png', 'href' => $favicon ]);
62 62
 }
63 63
 
64 64
 ?>
@@ -82,7 +82,7 @@  discard block
 block discarded – undo
82 82
 <!-- Navbar -->
83 83
 <?php
84 84
 if (Yii::$app->settings->get('enableTwigNavbar', 'app.layout', false)) {
85
-    echo \dmstr\modules\prototype\widgets\TwigWidget::widget(['key' => '_navbar']);
85
+    echo \dmstr\modules\prototype\widgets\TwigWidget::widget([ 'key' => '_navbar' ]);
86 86
 } else {
87 87
     echo $this->render('_navbar');
88 88
 }
@@ -106,7 +106,7 @@  discard block
 block discarded – undo
106 106
 
107 107
 <!-- Footer -->
108 108
 <footer class="footer">
109
-    <?= Cell::widget(['id' => '_footer', 'requestParam' => '_global']) ?>
109
+    <?= Cell::widget([ 'id' => '_footer', 'requestParam' => '_global' ]) ?>
110 110
 </footer>
111 111
 
112 112
 <!-- Info Modal -->
@@ -115,7 +115,7 @@  discard block
 block discarded – undo
115 115
     <?= Html::a(
116 116
         '<i class="fa fa-heartbeat"></i>',
117 117
         '#',
118
-        ['class' => 'text-muted', 'data-toggle' => 'modal', 'data-target' => '#infoModal']
118
+        [ 'class' => 'text-muted', 'data-toggle' => 'modal', 'data-target' => '#infoModal' ]
119 119
     ) ?>
120 120
     </p>
121 121
 </div>
Please login to merge, or discard this patch.
src/views/layouts/container-fluid.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@
 block discarded – undo
5 5
             <?=
6 6
             \yii\widgets\Breadcrumbs::widget(
7 7
                 [
8
-                    'links' => isset($this->params['breadcrumbs']) ? $this->params['breadcrumbs'] : [],
8
+                    'links' => isset($this->params[ 'breadcrumbs' ]) ? $this->params[ 'breadcrumbs' ] : [ ],
9 9
                 ]
10 10
             ) ?>
11 11
         </div>
Please login to merge, or discard this patch.