Rename NewsletterWooCommerceRevenue

[MAILPOET-3069]
This commit is contained in:
Pavel Dohnal
2020-08-10 10:42:35 +02:00
committed by Veljko V
parent 9593918a2c
commit 24c5ff8cb1
3 changed files with 4 additions and 4 deletions

View File

@@ -167,7 +167,7 @@ class NewsletterStatisticsRepository extends Repository {
$revenues = [];
foreach ($results ?: [] as $result) {
$revenues[(int)$result['id']] = new NewsletterWooCommerceRevenue(
$revenues[(int)$result['id']] = new WooCommerceRevenue(
$currency,
(float)$result['total'],
(int)$result['cnt'],