Completed
Push — master ( 99b5bb...9f8691 )
by WILMER
05:37
created
widgets/MainSidebar.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
         $item['badgeOptions'] = isset($item['badgeOptions']) ? $item['badgeOptions'] : [];
87 87
         if (!ArrayHelper::getValue($item, 'badgeOptions.class')) {
88 88
             $bg = isset($item['badgeBgClass']) ? $item['badgeBgClass'] : $this->badgeBgClass;
89
-            $item['badgeOptions']['class'] = $this->badgeClass . ' ' . $bg;
89
+            $item['badgeOptions']['class'] = $this->badgeClass.' '.$bg;
90 90
         }
91 91
         if (isset($item['items']) && !isset($item['right-icon'])) {
92 92
             $item['right-icon'] = $this->parentRightIcon;
@@ -99,7 +99,7 @@  discard block
 block discarded – undo
99 99
                 '{right-icon}'     => isset($item['right-icon']) ? $item['right-icon'] : '',
100 100
                 '{url}'            => Url::to($item['url']),
101 101
                 '{label}'          => $item['label'],
102
-                '{linkOptions}'    => isset($item['linkOptions']) ? Html::renderTagAttributes($item['linkOptions']): '',
102
+                '{linkOptions}'    => isset($item['linkOptions']) ? Html::renderTagAttributes($item['linkOptions']) : '',
103 103
             ]);
104 104
         } else {
105 105
             $template = ArrayHelper::getValue($item, 'template', $this->labelTemplate);
@@ -108,7 +108,7 @@  discard block
 block discarded – undo
108 108
                 '{icon}'           => isset($item['icon']) ? $item['icon'] : '',
109 109
                 '{right-icon}'     => isset($item['right-icon']) ? $item['right-icon'] : '',
110 110
                 '{label}'          => $item['label'],
111
-                '{linkOptions}'    => isset($item['linkOptions']) ? Html::renderTagAttributes($item['linkOptions']): '',
111
+                '{linkOptions}'    => isset($item['linkOptions']) ? Html::renderTagAttributes($item['linkOptions']) : '',
112 112
             ]);
113 113
 
114 114
         }
Please login to merge, or discard this patch.
widgets/Alert.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -70,17 +70,17 @@
 block discarded – undo
70 70
 
71 71
         $session = \Yii::$app->getSession();
72 72
         $flashes = $session->getAllFlashes();
73
-        $appendCss = isset($this->options['class']) ? ' ' . $this->options['class'] : '';
73
+        $appendCss = isset($this->options['class']) ? ' '.$this->options['class'] : '';
74 74
 
75 75
         foreach ($flashes as $type => $data) {
76 76
             if (isset($this->alertTypes[$type])) {
77 77
                 $data = (array) $data;
78 78
                 foreach ($data as $message) {
79 79
                     /* initialize css class for each alert box */
80
-                    $this->options['class'] = $this->alertTypes[$type] . $appendCss;
80
+                    $this->options['class'] = $this->alertTypes[$type].$appendCss;
81 81
 
82 82
                     /* assign unique id to each alert box */
83
-                    $this->options['id'] = $this->getId() . '-' . $type;
83
+                    $this->options['id'] = $this->getId().'-'.$type;
84 84
 
85 85
                     echo \yii\bootstrap\Alert::widget([
86 86
                         'body' => $message,
Please login to merge, or discard this patch.