Passed
Push — develop ( 204b7a...d9d9af )
by Andrew
03:18
created
src/controllers/TablesController.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
             ])
87 87
             ->from(['{{%webperf_data_samples}}'])
88 88
             ->offset($offset);
89
-        if ((int)$siteId !== 0) {
89
+        if ((int) $siteId !== 0) {
90 90
             $query->where(['siteId' => $siteId]);
91 91
         }
92 92
         if ($filter !== '') {
@@ -169,7 +169,7 @@  discard block
 block discarded – undo
169 169
             ->offset($offset)
170 170
             ->limit($per_page)
171 171
             ->orderBy("{$sortField} {$sortType}");
172
-        if ((int)$siteId !== 0) {
172
+        if ((int) $siteId !== 0) {
173 173
             $query->where(['siteId' => $siteId]);
174 174
         }
175 175
         if ($filter !== '') {
Please login to merge, or discard this patch.