Skip to content

Commit

Permalink
Add missing parameter for addCc and addBcc methods
Browse files Browse the repository at this point in the history
  • Loading branch information
hjmsw committed May 10, 2019
1 parent 37fa19d commit 08822ba
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 @@ -393,6 +393,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 @@ -402,6 +404,7 @@ public function addTos(
public function addCc(
$cc,
$name = null,
$substitutions = null,
$personalizationIndex = null,
$personalization = null
) {
Expand All @@ -413,6 +416,7 @@ public function addCc(
"Cc",
$cc,
$name,
$substitutions,
$personalizationIndex,
$personalization
);
Expand Down Expand Up @@ -448,6 +452,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 @@ -457,6 +463,7 @@ public function addCcs(
public function addBcc(
$bcc,
$name = null,
$substitutions = null,
$personalizationIndex = null,
$personalization = null
) {
Expand All @@ -468,6 +475,7 @@ public function addBcc(
"Bcc",
$bcc,
$name,
$substitutions,
$personalizationIndex,
$personalization
);
Expand Down

0 comments on commit 08822ba

Please sign in to comment.