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

Signed-off-by: Joas Schilling <coding@schilljs.com>
pull/59955/head
Joas Schilling 4 months ago
parent d3534595da
commit d42cec56a3
No known key found for this signature in database
GPG Key ID: F72FA5B49FFA96B0
  1. 2
      lib/private/Mail/Mailer.php
  2. 2
      lib/public/Mail/IMailer.php

@ -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…
Cancel
Save