Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Remove default email for setCc
  • Loading branch information
Iandenh committed May 4, 2017
1 parent c0219c8 commit 8538990
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Mailer/Email.php
Expand Up @@ -643,7 +643,7 @@ public function addTo($email, $name = null)
* @param string|null $name Name
* @return $this
*/
public function setCc($email = null, $name = null)
public function setCc($email, $name = null)
{
return $this->_setEmail('_cc', $email, $name);
}
Expand Down
2 changes: 1 addition & 1 deletion src/Mailer/Mailer.php
Expand Up @@ -98,7 +98,7 @@
* @method array getReturnPath()
* @method \Cake\Mailer\Email returnPath($email = null, $name = null)
* @method \Cake\Mailer\Email addTo($email, $name = null)
* @method \Cake\Mailer\Email setCc($email = null, $name = null)
* @method \Cake\Mailer\Email setCc($email, $name = null)
* @method array getCc()
* @method \Cake\Mailer\Email cc($email = null, $name = null)
* @method \Cake\Mailer\Email addCc($email, $name = null)
Expand Down

0 comments on commit 8538990

Please sign in to comment.