@@ -143,7 +143,7 @@ discard block |
||
143 | 143 | // Get the page number of this request |
144 | 144 | $request = Craft::$app->getRequest(); |
145 | 145 | if (!$request->isConsoleRequest) { |
146 | - $this->paginationPage = (string)$request->pageNum; |
|
146 | + $this->paginationPage = (string) $request->pageNum; |
|
147 | 147 | } |
148 | 148 | } |
149 | 149 | |
@@ -218,7 +218,7 @@ discard block |
||
218 | 218 | $cache = Craft::$app->getCache(); |
219 | 219 | list($this->metaGlobalVars, $this->metaSiteVars, $this->metaSitemapVars, $this->metaContainers) = $cache->getOrSet( |
220 | 220 | self::CACHE_KEY.$cacheKey, |
221 | - function () use ($uri, $siteId) { |
|
221 | + function() use ($uri, $siteId) { |
|
222 | 222 | Craft::info( |
223 | 223 | 'Meta container cache miss: '.$uri.'/'.$siteId, |
224 | 224 | __METHOD__ |
@@ -254,7 +254,7 @@ discard block |
||
254 | 254 | $uniqueKey .= $bodyPosition; |
255 | 255 | $scriptData = Craft::$app->getCache()->getOrSet( |
256 | 256 | self::GLOBALS_CACHE_KEY.$uniqueKey, |
257 | - function () use ($uniqueKey, $bodyPosition) { |
|
257 | + function() use ($uniqueKey, $bodyPosition) { |
|
258 | 258 | Craft::info( |
259 | 259 | self::SCRIPTS_CACHE_KEY.' cache miss: '.$uniqueKey, |
260 | 260 | __METHOD__ |
@@ -268,7 +268,7 @@ discard block |
||
268 | 268 | foreach ($scriptContainer->data as $metaScript) { |
269 | 269 | /** @var MetaScript $metaScript */ |
270 | 270 | if (!empty($metaScript->bodyTemplatePath) |
271 | - && ((int)$metaScript->bodyPosition === $bodyPosition)) { |
|
271 | + && ((int) $metaScript->bodyPosition === $bodyPosition)) { |
|
272 | 272 | $scriptData[] = $metaScript->renderBodyHtml(); |
273 | 273 | } |
274 | 274 | } |
@@ -329,7 +329,7 @@ discard block |
||
329 | 329 | $uniqueKey = $dependency->tags[3] ?? self::GLOBALS_CACHE_KEY; |
330 | 330 | list($this->metaGlobalVars, $this->metaSiteVars) = Craft::$app->getCache()->getOrSet( |
331 | 331 | self::GLOBALS_CACHE_KEY.$uniqueKey, |
332 | - function () use ($uniqueKey) { |
|
332 | + function() use ($uniqueKey) { |
|
333 | 333 | Craft::info( |
334 | 334 | self::GLOBALS_CACHE_KEY.' cache miss: '.$uniqueKey, |
335 | 335 | __METHOD__ |