@@ -73,7 +73,7 @@ |
||
73 | 73 | |
74 | 74 | // Render the template with our vars passed in |
75 | 75 | try { |
76 | - $htmlText = Craft::$app->view->renderTemplate('webperf/' . $templatePath, $params); |
|
76 | + $htmlText = Craft::$app->view->renderTemplate('webperf/'.$templatePath, $params); |
|
77 | 77 | if ($minifier) { |
78 | 78 | // If SEOmatic is installed, get the title from it |
79 | 79 | $minify = Craft::$app->getPlugins()->getPlugin(self::MINIFY_PLUGIN_HANDLE); |
@@ -40,7 +40,7 @@ |
||
40 | 40 | ->from(['{{%webperf_data_samples}}']) |
41 | 41 | ->where(['not', [$column => null]]) |
42 | 42 | ; |
43 | - if ((int)$siteId !== 0) { |
|
43 | + if ((int) $siteId !== 0) { |
|
44 | 44 | $query->andWhere(['siteId' => $siteId]); |
45 | 45 | } |
46 | 46 | return $query->count(); |