diff --git a/src/Jobs/SendJob.php b/src/Jobs/SendJob.php index b5ed7c2..c066e7d 100644 --- a/src/Jobs/SendJob.php +++ b/src/Jobs/SendJob.php @@ -100,7 +100,7 @@ public function process() $transport = Injector::inst()->create(TransportInterface::class); if (!($transport instanceof MailgunSyncApiTransport)) { $type = get_debug_type($transport); - + // This job can only be processed with a MailgunSyncApiTransport throw new \RuntimeException("SendJob::process() expected a MailgunSyncApiTransport to send the email, got a {$type}"); } diff --git a/src/Tasks/SendTestEmailTask.php b/src/Tasks/SendTestEmailTask.php index 25875e5..eaab37b 100644 --- a/src/Tasks/SendTestEmailTask.php +++ b/src/Tasks/SendTestEmailTask.php @@ -12,7 +12,6 @@ */ class SendTestEmailTask extends BuildTask { - /** * @inheritdoc */