@@ -287,8 +287,8 @@ |
||
| 287 | 287 | |
| 288 | 288 | $mountedPagesIdsWithQueueItems = []; |
| 289 | 289 | foreach ($queueItemsOfExistingMountPoints as $id => $queueItemsOfExistingMountPoint) { |
| 290 | - if (((int) $queueItemsOfExistingMountPoint['queueItemCount']) > 0) { |
|
| 291 | - $mountedPagesIdsWithQueueItems[] = (int) $id; |
|
| 290 | + if (((int)$queueItemsOfExistingMountPoint['queueItemCount']) > 0) { |
|
| 291 | + $mountedPagesIdsWithQueueItems[] = (int)$id; |
|
| 292 | 292 | } |
| 293 | 293 | } |
| 294 | 294 | |
@@ -253,7 +253,7 @@ |
||
| 253 | 253 | */ |
| 254 | 254 | protected function performPingRequest($timeout = 2, $useCache = true) |
| 255 | 255 | { |
| 256 | - $cacheKey = (string) ($this); |
|
| 256 | + $cacheKey = (string)($this); |
|
| 257 | 257 | if ($useCache && isset(static::$pingCache[$cacheKey])) { |
| 258 | 258 | return static::$pingCache[$cacheKey]; |
| 259 | 259 | } |
@@ -230,7 +230,7 @@ discard block |
||
| 230 | 230 | { |
| 231 | 231 | /** @var $registry Registry */ |
| 232 | 232 | $registry = GeneralUtility::makeInstance(Registry::class); |
| 233 | - $servers = (array) $registry->get('tx_solr', 'servers', []); |
|
| 233 | + $servers = (array)$registry->get('tx_solr', 'servers', []); |
|
| 234 | 234 | return $servers; |
| 235 | 235 | } |
| 236 | 236 | |
@@ -314,7 +314,7 @@ discard block |
||
| 314 | 314 | $recursionRootPageId = intval($rootPageId); |
| 315 | 315 | if ($rootPageId == 'SITE_ROOT') { |
| 316 | 316 | $recursionRootPageId = $this->rootPage['uid']; |
| 317 | - $pageIds[] = (int) $this->rootPage['uid']; |
|
| 317 | + $pageIds[] = (int)$this->rootPage['uid']; |
|
| 318 | 318 | } |
| 319 | 319 | |
| 320 | 320 | if ($maxDepth <= 0) { |
@@ -345,7 +345,7 @@ discard block |
||
| 345 | 345 | $result = $GLOBALS['TYPO3_DB']->exec_SELECTquery('uid', 'pages', 'pid = ' . $recursionRootPageId . ' ' . BackendUtility::deleteClause('pages')); |
| 346 | 346 | |
| 347 | 347 | while ($page = $GLOBALS['TYPO3_DB']->sql_fetch_assoc($result)) { |
| 348 | - $pageIds[] = (int) $page['uid']; |
|
| 348 | + $pageIds[] = (int)$page['uid']; |
|
| 349 | 349 | |
| 350 | 350 | if ($maxDepth > 1) { |
| 351 | 351 | $pageIds = array_merge($pageIds, $this->getPages($page['uid'], $maxDepth - 1)); |