Skip to content

Commit

Permalink
Merge pull request #837 from hjmsw/try-issue-788
Browse files Browse the repository at this point in the history
Fixes #788  - Add missing parameter for addCc and addBcc methods
  • Loading branch information
thinkingserious committed May 21, 2019
2 parents b1308a9 + 08822ba commit 53e7cd7
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions lib/mail/Mail.php
Original file line number Diff line number Diff line change
Expand Up @@ -395,6 +395,8 @@ public function addTos(
*
* @param string|Cc $cc Email address or Cc object
* @param string $name Recipient name
* @param Substitution[]|array|null $substitutions Personalized
* substitutions
* @param int|null $personalizationIndex Index into an array of
* existing Personalization
* objects
Expand All @@ -404,6 +406,7 @@ public function addTos(
public function addCc(
$cc,
$name = null,
$substitutions = null,
$personalizationIndex = null,
$personalization = null
) {
Expand All @@ -415,6 +418,7 @@ public function addCc(
"Cc",
$cc,
$name,
$substitutions,
$personalizationIndex,
$personalization
);
Expand Down Expand Up @@ -450,6 +454,8 @@ public function addCcs(
*
* @param string|Bcc $bcc Email address or Bcc object
* @param string $name Recipient name
* @param Substitution[]|array|null $substitutions Personalized
* substitutions
* @param int|null $personalizationIndex Index into an array of
* existing Personalization
* objects
Expand All @@ -459,6 +465,7 @@ public function addCcs(
public function addBcc(
$bcc,
$name = null,
$substitutions = null,
$personalizationIndex = null,
$personalization = null
) {
Expand All @@ -470,6 +477,7 @@ public function addBcc(
"Bcc",
$bcc,
$name,
$substitutions,
$personalizationIndex,
$personalization
);
Expand Down

0 comments on commit 53e7cd7

Please sign in to comment.