Passed
Push — master ( 90e1a2...59626d )
by Paweł
04:00 queued 11s
created
modules/admin/controllers/MonitoringController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -142,7 +142,7 @@
 block discarded – undo
142 142
                     $job = JobFactory::updateAccount($account);
143 143
                     $queue->push($job);
144 144
 
145
-                    $categories = array_filter((array)$form->categories);
145
+                    $categories = array_filter((array) $form->categories);
146 146
                     if ($categories) {
147 147
                         /** @var \app\models\User $identity */
148 148
                         $identity = Yii::$app->user->identity;
Please login to merge, or discard this patch.
components/http/ProxyManager.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
             'and',
39 39
             ['active' => 1],
40 40
             ['reservation_uid' => null],
41
-            ['<=', 'updated_at', new Expression(sprintf('DATE_ADD(NOW(), INTERVAL %s SECOND)', (int)$this->restTime))],
41
+            ['<=', 'updated_at', new Expression(sprintf('DATE_ADD(NOW(), INTERVAL %s SECOND)', (int) $this->restTime))],
42 42
         ];
43 43
 
44 44
         $columns = [
@@ -82,7 +82,7 @@  discard block
 block discarded – undo
82 82
         if ($rest === true) {
83 83
             Yii::debug(sprintf("REST: %s\n", "{$proxy->ip}:{$proxy->port}"), __METHOD__);
84 84
             $attributes['rests'] = new Expression('rests+1');
85
-            $attributes['rest_until'] = new Expression(sprintf('DATE_ADD(NOW(), INTERVAL rests+%s HOUR)', (int)$this->blockRestTime));
85
+            $attributes['rest_until'] = new Expression(sprintf('DATE_ADD(NOW(), INTERVAL rests+%s HOUR)', (int) $this->blockRestTime));
86 86
         } elseif ($rest === false) {
87 87
             $attributes['rests'] = 0;
88 88
             $attributes['rest_until'] = null;
Please login to merge, or discard this patch.