diff --git a/src/TemplatedEmailer.php b/src/TemplatedEmailer.php index 4d96cbc..4498c6a 100644 --- a/src/TemplatedEmailer.php +++ b/src/TemplatedEmailer.php @@ -63,7 +63,7 @@ public function setSender($address, $name = null) * @param string $templatePath * @param mixed $context */ - public function send($recipient, $subject, $templatePath, $context) + public function send($recipient, $subject, $templatePath, $context = []) { if (!isset($this->sender)) { throw new RuntimeException("Cannot send message [{$subject}] until sender has been set using setSender().");