Skip to content
Permalink
Browse files

Remove default email for setCc

  • Loading branch information...
Iandenh committed May 4, 2017
1 parent c0219c8 commit 8538990434fc9fa425bfee6199ef2316595c4593
Showing with 2 additions and 2 deletions.
  1. +1 −1 src/Mailer/Email.php
  2. +1 −1 src/Mailer/Mailer.php
@@ -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);
}
@@ -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)

0 comments on commit 8538990

Please sign in to comment.
You can’t perform that action at this time.