| @@ -82,7 +82,7 @@ discard block | ||
| 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 | ||
| 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 | ||
| 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(); |