@@ -166,7 +166,7 @@ |
||
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, |
@@ -30,7 +30,7 @@ discard block |
||
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 |
||
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); |