From 69736c5e839c0ee06ccc417a9a1c1b11a969532c Mon Sep 17 00:00:00 2001 From: Rodrigo Primo Date: Wed, 25 Oct 2023 10:33:38 -0300 Subject: [PATCH] Fix typo in error message [MAILPOET-4368] --- mailpoet/lib/Entities/SendingQueueEntity.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 [