Completed
Push — master ( db265d...068b1b )
by Timo
11s
created
Classes/IndexQueue/Initializer/Page.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -287,8 +287,8 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
Classes/SolrService.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -253,7 +253,7 @@
 block discarded – undo
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
         }
Please login to merge, or discard this patch.
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.