Passed
Push — master ( 0faa30...202215 )
by Timo
01:00
created
Classes/IndexQueue/Queue.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -809,7 +809,7 @@  discard block
 block discarded – undo
809 809
     public function getItemsCountBySite(Site $site, $indexingConfigurationName = '')
810 810
     {
811 811
         GeneralUtility::logDeprecatedFunction();
812
-        return (int) $this->getStatisticsBySite($site, $indexingConfigurationName)->getTotalCount();
812
+        return (int)$this->getStatisticsBySite($site, $indexingConfigurationName)->getTotalCount();
813 813
     }
814 814
 
815 815
     /**
@@ -825,7 +825,7 @@  discard block
 block discarded – undo
825 825
     public function getRemainingItemsCountBySite(Site $site, $indexingConfigurationName = '')
826 826
     {
827 827
         GeneralUtility::logDeprecatedFunction();
828
-        return (int) $this->getStatisticsBySite($site, $indexingConfigurationName)->getPendingCount();
828
+        return (int)$this->getStatisticsBySite($site, $indexingConfigurationName)->getPendingCount();
829 829
     }
830 830
 
831 831
     /**
@@ -877,11 +877,11 @@  discard block
 block discarded – undo
877 877
 
878 878
         foreach ($indexQueueStats as $row) {
879 879
             if ($row['failed'] == 1) {
880
-                $statistic->setFailedCount((int) $row['count']);
880
+                $statistic->setFailedCount((int)$row['count']);
881 881
             } elseif ($row['pending'] == 1) {
882
-                $statistic->setPendingCount((int) $row['count']);
882
+                $statistic->setPendingCount((int)$row['count']);
883 883
             } else {
884
-                $statistic->setSuccessCount((int) $row['count']);
884
+                $statistic->setSuccessCount((int)$row['count']);
885 885
             }
886 886
         }
887 887
 
Please login to merge, or discard this patch.