Passed
Push — master ( c0d123...f3652f )
by Paweł
02:44
created
modules/admin/views/account/media-accounts.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
                             [
35 35
                                 'attribute' => 'username',
36 36
                                 'format' => 'raw',
37
-                                'value' => function (Account $model, $key, $index, $column) {
37
+                                'value' => function(Account $model, $key, $index, $column) {
38 38
                                     if ($model->monitoring) {
39 39
                                         $value = Html::a($model->usernamePrefixed, ['account/dashboard', 'id' => $model->id]);
40 40
                                     } else {
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
                             'occurs',
48 48
                             [
49 49
                                 'format' => 'raw',
50
-                                'value' => function (Account $account) use ($model) {
50
+                                'value' => function(Account $account) use ($model) {
51 51
                                     return OnOffMonitoringButton::widget([
52 52
                                         'model' => $account,
53 53
                                         'form' => new AccountMonitoringForm([
Please login to merge, or discard this patch.
components/AccountManager.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -150,7 +150,7 @@
 block discarded – undo
150 150
     public function saveUsernames(array $usernames)
151 151
     {
152 152
         $createdAt = (new \DateTime())->format('Y-m-d H:i:s');
153
-        $rows = array_map(function ($username) use ($createdAt) {
153
+        $rows = array_map(function($username) use ($createdAt) {
154 154
             return [
155 155
                 $username,
156 156
                 $createdAt,
Please login to merge, or discard this patch.
modules/admin/widgets/CreateMonitoringModal.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@
 block discarded – undo
66 66
     {
67 67
         static::$proxies = static::$proxies ?? Proxy::find()->joinWith('tags')->active()->all();
68 68
 
69
-        return ArrayHelper::map(static::$proxies, 'id', function (Proxy $model) {
69
+        return ArrayHelper::map(static::$proxies, 'id', function(Proxy $model) {
70 70
             $tags = ArrayHelper::getColumn($model->tags, 'name');
71 71
 
72 72
             return $model->ip . ($tags ? ' # ' . implode(',', $tags) : '');
Please login to merge, or discard this patch.
views/preview/account.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -168,7 +168,7 @@
 block discarded – undo
168 168
                                     [
169 169
                                         'label' => $model->lastAccountStats->getAttributeLabel('er'),
170 170
                                         'yAxisID' => 'er',
171
-                                        'data' => array_map(function ($item) {
171
+                                        'data' => array_map(function($item) {
172 172
                                             return number_format($item * 100, 2);
173 173
                                         }, ArrayHelper::getColumn($dailyStatsData, 'er')),
174 174
                                         'fill' => false,
Please login to merge, or discard this patch.
components/instagram/AccountDetails.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
         $account->full_name = $data->fullName;
22 22
         $account->biography = $data->biography;
23 23
         $account->external_url = $data->externalUrl;
24
-        $account->instagram_id = (string)$data->id;
24
+        $account->instagram_id = (string) $data->id;
25 25
 
26 26
         $account->update();
27 27
 
Please login to merge, or discard this patch.