mirror of
https://github.com/nextcloud/server.git
synced 2026-05-22 10:06:37 -04:00
Merge pull request #59955 from nextcloud/docs/noid/fix-deprecation
fix(mailer): Fix IMailer deprecation message
This commit is contained in:
commit
08647c5458
2 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue