Replace deprecated array types with Doctrine's ArrayParameterType
[MAILPOET-6142]
This commit is contained in:
@@ -8,7 +8,7 @@ use MailPoet\Entities\SendingQueueEntity;
|
||||
use MailPoet\Entities\StatisticsClickEntity;
|
||||
use MailPoet\Entities\StatisticsWooCommercePurchaseEntity;
|
||||
use MailPoet\WooCommerce\Helper;
|
||||
use MailPoetVendor\Doctrine\DBAL\Connection;
|
||||
use MailPoetVendor\Doctrine\DBAL\ArrayParameterType;
|
||||
use MailPoetVendor\Doctrine\DBAL\ParameterType;
|
||||
use MailPoetVendor\Doctrine\ORM\EntityManager;
|
||||
|
||||
@@ -102,7 +102,7 @@ class StatisticsWooCommercePurchasesRepository extends Repository {
|
||||
'notification_history_type' => ParameterType::STRING,
|
||||
'notification_type' => ParameterType::STRING,
|
||||
'currency' => ParameterType::STRING,
|
||||
'revenue_status' => Connection::PARAM_STR_ARRAY,
|
||||
'revenue_status' => ArrayParameterType::STRING,
|
||||
])->fetchAllAssociative();
|
||||
|
||||
$data = array_map(function($row) {
|
||||
|
Reference in New Issue
Block a user