Поправил типы
This commit is contained in:
parent
5e6d39d638
commit
f3adc4550d
6 changed files with 14 additions and 11 deletions
|
|
@ -48,7 +48,7 @@ class MailAlt
|
|||
/**
|
||||
* Тема письма
|
||||
*/
|
||||
function subject($subject)
|
||||
function subject(/*.string.*/$subject)
|
||||
{
|
||||
$this->mailer->Subject = $subject;
|
||||
}
|
||||
|
|
@ -77,7 +77,7 @@ class MailAlt
|
|||
/**
|
||||
* Добавление вложения из файла
|
||||
*/
|
||||
function addAttachment($filename, $name = false)
|
||||
function addAttachment($filename, $name = null)
|
||||
{
|
||||
$this->mailer->addAttachment($filename, $name);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue