Fix typo in error message

[MAILPOET-4368]
This commit is contained in:
Rodrigo Primo
2023-10-25 10:33:38 -03:00
committed by Aschepikov
parent 508fdd7756
commit 69736c5e83

View File

@@ -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 [