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