Fix typo in error message
[MAILPOET-4368]
This commit is contained in:
committed by
Aschepikov
parent
508fdd7756
commit
69736c5e83
@@ -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 [
|
||||
|
Reference in New Issue
Block a user