diff --git a/mailpoet/lib/Entities/SendingQueueEntity.php b/mailpoet/lib/Entities/SendingQueueEntity.php index f4dcc4e1b0..0ef02e4295 100644 --- a/mailpoet/lib/Entities/SendingQueueEntity.php +++ b/mailpoet/lib/Entities/SendingQueueEntity.php @@ -226,7 +226,7 @@ class SendingQueueEntity { public function toArray(): array { if (!$this->getTask() instanceof ScheduledTaskEntity) { - throw new \RuntimeException('Invalid state. SendingQueue has ScheduledTask associated.'); + throw new \RuntimeException('Invalid state. SendingQueue has no ScheduledTask associated.'); } return [