Skip to content

Commit 08647c5

Browse files
Merge pull request #59955 from nextcloud/docs/noid/fix-deprecation
fix(mailer): Fix IMailer deprecation message
2 parents 4c16333 + d42cec5 commit 08647c5

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

lib/private/Mail/Mailer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ public function send(IMessage $message): array {
235235
/**
236236
* @param string $email Email address to be validated
237237
* @return bool True if the mail address is valid, false otherwise
238-
* @deprecated 26.0.0 use IEmailValidator.isValid instead
238+
* @deprecated 32.0.0 use {@see IEmailValidator::isValid()} instead
239239
*/
240240
public function validateMailAddress(string $email): bool {
241241
return $this->emailValidator->isValid($email);

lib/public/Mail/IMailer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ public function send(IMessage $message): array;
8080
* @param string $email Email address to be validated
8181
* @return bool True if the mail address is valid, false otherwise
8282
* @since 8.1.0
83-
* @deprecated 26.0.0 use IEmailValidator.isValid instead
83+
* @deprecated 32.0.0 use {@see IEmailValidator::isValid()} instead
8484
*/
8585
public function validateMailAddress(string $email): bool;
8686
}

0 commit comments

Comments
 (0)