Remove phpstan errors from integration Tasks tests

[MAILPOET-3235]
This commit is contained in:
Jan Lysý
2021-01-13 17:35:13 +01:00
committed by Veljko V
parent 428392ed18
commit 8e53e260ef
2 changed files with 4 additions and 1 deletions

View File

@ -47,7 +47,8 @@ class BatchIteratorTest extends \MailPoetTest {
$i++;
// process subscribers
ScheduledTaskSubscriber::where('task_id', $this->taskId)
// @phpstan-ignore-next-line
ScheduledTaskSubscriber::where('task_id', $this->taskId)
->whereIn('subscriber_id', $batch)
->findResultSet()
->set('processed', ScheduledTaskSubscriber::STATUS_PROCESSED)