Completed
Pull Request — master (#785)
by Timo
20:58
created
Classes/Site.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -230,7 +230,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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));
Please login to merge, or discard this patch.