Passed
Push — master ( bd8b14...8d2c24 )
by Paweł
02:24
created
modules/admin/views/account/dashboard.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -166,7 +166,7 @@
 block discarded – undo
166 166
                                     [
167 167
                                         'label' => $model->lastAccountStats->getAttributeLabel('er'),
168 168
                                         'yAxisID' => 'er',
169
-                                        'data' => array_map(function ($item) {
169
+                                        'data' => array_map(function($item) {
170 170
                                             return number_format($item * 100, 2);
171 171
                                         }, ArrayHelper::getColumn($monthAccountStats, 'er')),
172 172
                                         'fill' => false,
Please login to merge, or discard this patch.
modules/admin/views/monitoring/accounts.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
                 ['class' => \yii\grid\SerialColumn::class],
31 31
                 [
32 32
                     'attribute' => 'username',
33
-                    'content' => function (\app\models\Account $model) {
33
+                    'content' => function(\app\models\Account $model) {
34 34
                         return Html::a($model->displayName, ['account/dashboard', 'id' => $model->id]) . ' '
35 35
                             . Html::a('<span class="fa fa-external-link text-sm"></span>', Url::account($model->username), ['target' => '_blank']);
36 36
                     },
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
58 58
                 ],
59 59
                 [
60 60
                     'attribute' => 's_tags',
61
-                    'value' => function (Account $model) {
61
+                    'value' => function(Account $model) {
62 62
                         $tags = $model->getTags()->select('tag.name')->column();
63 63
                         if ($tags) {
64 64
                             return implode(', ', $tags);
Please login to merge, or discard this patch.