Completed
Pull Request — master (#926)
by
unknown
35:34
created
Classes/Site.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -255,7 +255,7 @@  discard block
 block discarded – undo
255 255
     {
256 256
         /** @var $registry Registry */
257 257
         $registry = GeneralUtility::makeInstance(Registry::class);
258
-        $servers = (array) $registry->get('tx_solr', 'servers', []);
258
+        $servers = (array)$registry->get('tx_solr', 'servers', []);
259 259
         return $servers;
260 260
     }
261 261
 
@@ -339,7 +339,7 @@  discard block
 block discarded – undo
339 339
         $recursionRootPageId = intval($rootPageId);
340 340
         if ($rootPageId == 'SITE_ROOT') {
341 341
             $recursionRootPageId = $this->rootPage['uid'];
342
-            $pageIds[] = (int) $this->rootPage['uid'];
342
+            $pageIds[] = (int)$this->rootPage['uid'];
343 343
         }
344 344
 
345 345
         if ($maxDepth <= 0) {
@@ -381,7 +381,7 @@  discard block
 block discarded – undo
381 381
         $result = $GLOBALS['TYPO3_DB']->exec_SELECTquery('uid', 'pages', 'pid = ' . $recursionRootPageId . ' ' . BackendUtility::deleteClause('pages') . $initialPagesAdditionalWhereClause);
382 382
 
383 383
         while ($page = $GLOBALS['TYPO3_DB']->sql_fetch_assoc($result)) {
384
-            $pageIds[] = (int) $page['uid'];
384
+            $pageIds[] = (int)$page['uid'];
385 385
 
386 386
             if ($maxDepth > 1) {
387 387
                 $pageIds = array_merge($pageIds, $this->getPages($page['uid'], $maxDepth - 1));
Please login to merge, or discard this patch.