@@ -863,7 +863,7 @@ discard block |
||
863 | 863 | . '(errors not like "") as failed,' |
864 | 864 | . 'COUNT(*) as count', |
865 | 865 | 'tx_solr_indexqueue_item', |
866 | - 'root = ' . (int) $site->getRootPageId(), |
|
866 | + 'root = ' . (int)$site->getRootPageId(), |
|
867 | 867 | 'pending, failed' |
868 | 868 | ); |
869 | 869 | /** @var $statistic QueueStatistic */ |
@@ -871,11 +871,11 @@ discard block |
||
871 | 871 | |
872 | 872 | foreach ($indexQueueStats as $row) { |
873 | 873 | if ($row['failed'] == 1) { |
874 | - $statistic->setFailedCount((int) $row['count']); |
|
874 | + $statistic->setFailedCount((int)$row['count']); |
|
875 | 875 | } elseif ($row['pending'] == 1) { |
876 | - $statistic->setPendingCount((int) $row['count']); |
|
876 | + $statistic->setPendingCount((int)$row['count']); |
|
877 | 877 | } else { |
878 | - $statistic->setSuccessCount((int) $row['count']); |
|
878 | + $statistic->setSuccessCount((int)$row['count']); |
|
879 | 879 | } |
880 | 880 | } |
881 | 881 |
@@ -129,7 +129,7 @@ |
||
129 | 129 | $this->type = $itemMetaData['item_type']; |
130 | 130 | $this->recordUid = $itemMetaData['item_uid']; |
131 | 131 | $this->changed = $itemMetaData['changed']; |
132 | - $this->errors = (string) empty($itemMetaData['errors']) ? '' : $itemMetaData['errors']; |
|
132 | + $this->errors = (string)empty($itemMetaData['errors']) ? '' : $itemMetaData['errors']; |
|
133 | 133 | |
134 | 134 | $this->indexingConfigurationName = $itemMetaData['indexing_configuration']; |
135 | 135 | $this->hasIndexingProperties = (boolean)$itemMetaData['has_indexing_properties']; |