Passed
Push — master ( 735f8a...935686 )
by Timo
36:14 queued 12:36
created
Classes/Site.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -266,7 +266,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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));
Please login to merge, or discard this patch.