Replace PDO types with Doctrine's ParameterType
[MAILPOET-6142]
This commit is contained in:
@@ -6,6 +6,7 @@ use MailPoet\Entities\ScheduledTaskEntity;
|
||||
use MailPoet\Entities\ScheduledTaskSubscriberEntity;
|
||||
use MailPoet\Entities\SubscriberEntity;
|
||||
use MailPoetVendor\Carbon\Carbon;
|
||||
use MailPoetVendor\Doctrine\DBAL\ParameterType;
|
||||
use MailPoetVendor\Doctrine\ORM\EntityManager;
|
||||
|
||||
class SubscribersEmailCountsController {
|
||||
@@ -122,8 +123,8 @@ class SubscribersEmailCountsController {
|
||||
'batchSize' => $batchSize,
|
||||
],
|
||||
[
|
||||
'startId' => \PDO::PARAM_INT,
|
||||
'batchSize' => \PDO::PARAM_INT,
|
||||
'startId' => ParameterType::INTEGER,
|
||||
'batchSize' => ParameterType::INTEGER,
|
||||
]
|
||||
);
|
||||
|
||||
|
Reference in New Issue
Block a user