mirror of https://gitee.com/karson/fastadmin.git
移除to方法从未使用的$name变量
parent
5ab531e0ec
commit
5d7181fe1d
|
|
@ -96,10 +96,9 @@ class Email
|
|||
/**
|
||||
* 设置收件人
|
||||
* @param mixed $email 收件人,多个收件人以,进行分隔
|
||||
* @param string $name 收件人名称
|
||||
* @return $this
|
||||
*/
|
||||
public function to($email, $name = '')
|
||||
public function to($email)
|
||||
{
|
||||
$emailArr = $this->buildAddress($email);
|
||||
foreach ($emailArr as $address => $name) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue