Failed Conditions
Pull Request — master (#1257)
by Timo
16:28
created
Classes/IndexQueue/Queue.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -790,11 +790,11 @@
 block discarded – undo
790 790
 
791 791
         foreach ($indexQueueStats as $row) {
792 792
             if ($row['failed'] == 1) {
793
-                $statistic->setFailedCount((int) $row['count']);
793
+                $statistic->setFailedCount((int)$row['count']);
794 794
             } elseif ($row['pending'] == 1) {
795
-                $statistic->setPendingCount((int) $row['count']);
795
+                $statistic->setPendingCount((int)$row['count']);
796 796
             } else {
797
-                $statistic->setSuccessCount((int) $row['count']);
797
+                $statistic->setSuccessCount((int)$row['count']);
798 798
             }
799 799
         }
800 800
 
Please login to merge, or discard this patch.
Classes/SolrService.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -662,7 +662,7 @@
 block discarded – undo
662 662
      * a complete and well formed "delete" xml document
663 663
      *
664 664
      * @param string $rawPost Expected to be utf-8 encoded xml document
665
-     * @param float|int $timeout Maximum expected duration of the delete operation on the server (otherwise, will throw a communication exception)
665
+     * @param integer $timeout Maximum expected duration of the delete operation on the server (otherwise, will throw a communication exception)
666 666
      * @return \Apache_Solr_Response
667 667
      */
668 668
     public function delete($rawPost, $timeout = 3600)
Please login to merge, or discard this patch.