mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-01-11 09:48:40 +00:00
fix enum type
This commit is contained in:
parent
9edbe6cc4b
commit
1bd56c74ac
|
|
@ -170,7 +170,7 @@ class MailHandler
|
|||
* @var string
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public string $dsn = DsnNotificationLevel:NONE;
|
||||
public string $dsn = DsnNotificationType::NONE;
|
||||
|
||||
/**
|
||||
* Keep connection alive.
|
||||
|
|
|
|||
|
|
@ -609,7 +609,7 @@ class Smtp
|
|||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public function recipient(string $address, string $dsn = DsnNotificationLevel:NONE) : bool
|
||||
public function recipient(string $address, string $dsn = DsnNotificationType::NONE) : bool
|
||||
{
|
||||
if ($dsn === '') {
|
||||
$rcpt = 'RCPT TO:<' . $address . '>';
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user