fix(mailer): Fix IMailer deprecation message (replacement was added in 32 only)

Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
Joas Schilling 2026-04-27 21:29:07 +02:00
parent d3534595da
commit d42cec56a3
No known key found for this signature in database
GPG key ID: F72FA5B49FFA96B0
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;
}