Passed
Push — v1 ( 63c526...da15fc )
by Andrew
08:26 queued 05:04
created
src/services/ErrorSamples.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -82,7 +82,7 @@  discard block
 block discarded – undo
82 82
             ->from(['{{%webperf_error_samples}}'])
83 83
             ->where(['not', [$column => null]])
84 84
             ;
85
-        if ((int)$siteId !== 0) {
85
+        if ((int) $siteId !== 0) {
86 86
             $query->andWhere(['siteId' => $siteId]);
87 87
         }
88 88
 
@@ -120,7 +120,7 @@  discard block
 block discarded – undo
120 120
                 ->andWhere(['url' => $pageUrl])
121 121
             ;
122 122
         }
123
-        if ((int)$siteId !== 0) {
123
+        if ((int) $siteId !== 0) {
124 124
             $query->andWhere(['siteId' => $siteId]);
125 125
         }
126 126
 
@@ -146,7 +146,7 @@  discard block
 block discarded – undo
146 146
                 ['not', ['title' => '']],
147 147
             ])
148 148
         ;
149
-        if ((int)$siteId !== 0) {
149
+        if ((int) $siteId !== 0) {
150 150
             $query->andWhere(['siteId' => $siteId]);
151 151
         }
152 152
         $result = $query->one();
Please login to merge, or discard this patch.