Merge pull request #59955 from nextcloud/docs/noid/fix-deprecation

fix(mailer): Fix IMailer deprecation message
This commit is contained in:
Joas Schilling 2026-04-28 07:53:02 +02:00 committed by GitHub
commit 08647c5458
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -235,7 +235,7 @@ class Mailer implements IMailer {
/**
* @param string $email Email address to be validated
* @return bool True if the mail address is valid, false otherwise
* @deprecated 26.0.0 use IEmailValidator.isValid instead
* @deprecated 32.0.0 use {@see IEmailValidator::isValid()} instead
*/
public function validateMailAddress(string $email): bool {
return $this->emailValidator->isValid($email);

View file

@ -80,7 +80,7 @@ interface IMailer {
* @param string $email Email address to be validated
* @return bool True if the mail address is valid, false otherwise
* @since 8.1.0
* @deprecated 26.0.0 use IEmailValidator.isValid instead
* @deprecated 32.0.0 use {@see IEmailValidator::isValid()} instead
*/
public function validateMailAddress(string $email): bool;
}