Skip to content

Commit

Permalink
fix addBcc method
Browse files Browse the repository at this point in the history
  • Loading branch information
darrylhein authored Feb 5, 2019
1 parent 8bbb779 commit 1fab55b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Component/MailSender.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down Expand Up @@ -261,4 +261,4 @@ protected function testValidateMessageParts()
throw new \Exception('HTML or plain text message parts needs to be set');
}
}
}
}

0 comments on commit 1fab55b

Please sign in to comment.