fix enum type

This commit is contained in:
Dennis Eichhorn 2023-05-06 11:47:26 +00:00
parent 9edbe6cc4b
commit 1bd56c74ac
2 changed files with 2 additions and 2 deletions

View File

@ -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.

View File

@ -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 . '>';