@@ -36,7 +36,7 @@ discard block |
||
| 36 | 36 | [ |
| 37 | 37 | 'attribute' => 'username', |
| 38 | 38 | 'format' => 'raw', |
| 39 | - 'value' => function (Account $model, $key, $index, $column) { |
|
| 39 | + 'value' => function(Account $model, $key, $index, $column) { |
|
| 40 | 40 | if ($model->monitoring) { |
| 41 | 41 | $value = Html::a($model->usernamePrefixed, ['account/dashboard', 'id' => $model->id]); |
| 42 | 42 | } else { |
@@ -49,7 +49,7 @@ discard block |
||
| 49 | 49 | [ |
| 50 | 50 | 'attribute' => 'er', |
| 51 | 51 | 'format' => 'raw', |
| 52 | - 'value' => function (Account $model) use ($formatter) { |
|
| 52 | + 'value' => function(Account $model) use ($formatter) { |
|
| 53 | 53 | if ($model->er) { |
| 54 | 54 | return sprintf('<span data-toggle="tooltip" data-placement="top" title="updated at: %s">%s</span>', |
| 55 | 55 | $formatter->asDate($model->stats_updated_at), |
@@ -63,7 +63,7 @@ discard block |
||
| 63 | 63 | 'occurs', |
| 64 | 64 | [ |
| 65 | 65 | 'format' => 'raw', |
| 66 | - 'value' => function (Account $account) use ($model) { |
|
| 66 | + 'value' => function(Account $account) use ($model) { |
|
| 67 | 67 | return OnOffMonitoringButton::widget([ |
| 68 | 68 | 'model' => $account, |
| 69 | 69 | 'form' => new MonitoringForm([ |