@@ -266,7 +266,7 @@ discard block |
||
266 | 266 | { |
267 | 267 | /** @var $registry Registry */ |
268 | 268 | $registry = GeneralUtility::makeInstance(Registry::class); |
269 | - $servers = (array) $registry->get('tx_solr', 'servers', []); |
|
269 | + $servers = (array)$registry->get('tx_solr', 'servers', []); |
|
270 | 270 | return $servers; |
271 | 271 | } |
272 | 272 | |
@@ -342,7 +342,7 @@ discard block |
||
342 | 342 | |
343 | 343 | if ($rootPageId == 'SITE_ROOT') { |
344 | 344 | $rootPageId = $this->rootPage['uid']; |
345 | - $pageIds[] = (int) $this->rootPage['uid']; |
|
345 | + $pageIds[] = (int)$this->rootPage['uid']; |
|
346 | 346 | } |
347 | 347 | |
348 | 348 | $recursionRootPageId = intval($rootPageId); |
@@ -391,7 +391,7 @@ discard block |
||
391 | 391 | $result = $GLOBALS['TYPO3_DB']->exec_SELECTquery('uid', 'pages', 'pid = ' . $recursionRootPageId . ' ' . BackendUtility::deleteClause('pages') . $initialPagesAdditionalWhereClause); |
392 | 392 | |
393 | 393 | while ($page = $GLOBALS['TYPO3_DB']->sql_fetch_assoc($result)) { |
394 | - $pageIds[] = (int) $page['uid']; |
|
394 | + $pageIds[] = (int)$page['uid']; |
|
395 | 395 | |
396 | 396 | if ($maxDepth > 1) { |
397 | 397 | $pageIds = array_merge($pageIds, $this->getPages($page['uid'], $maxDepth - 1)); |