From 1fab55b0db1a9c6f22c84c545dd8f9f31191922d Mon Sep 17 00:00:00 2001 From: Darryl Hein Date: Tue, 5 Feb 2019 09:35:19 -0700 Subject: [PATCH] fix addBcc method --- Component/MailSender.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Component/MailSender.php b/Component/MailSender.php index fa1d64b..7a7dbce 100644 --- a/Component/MailSender.php +++ b/Component/MailSender.php @@ -176,11 +176,11 @@ public function setBodyText($content) /** * Adds a BCC address to the email. * - * @param string $address + * @param string $email * @param string $name * @return MailSender */ - public function addBcc($address, $name = null) + public function addBcc($email, $name = null) { $this->bccAddresses[$email] = $name; @@ -261,4 +261,4 @@ protected function testValidateMessageParts() throw new \Exception('HTML or plain text message parts needs to be set'); } } -} \ No newline at end of file +}