Fix integration tests compatibility

[MAILPOET-4001]
This commit is contained in:
Jan Lysý
2022-01-07 12:20:22 +01:00
committed by Veljko V
parent 18827ed490
commit d0ea442300
15 changed files with 22 additions and 9 deletions

View File

@@ -1042,7 +1042,7 @@ class SendingQueueTest extends \MailPoetTest {
return $queue;
}
private function getSendingQueueWorker($newsletterRepositoryMock = null, $mailerMock = null) {
private function getSendingQueueWorker($newsletterRepositoryMock = null, $mailerMock = null): SendingQueueWorker {
return new SendingQueueWorker(
$this->sendingErrorHandler,
$this->sendingThrottlingHandler,