Skip to content

nullable problem #37

@Maatify

Description

@Maatify

Deprecated: EmailValidation\Validations\Validator: :__construct(): Implicitly marking parameter $emailAddress as nullable is deprecated, the explicit nullable type must be used instead in vendor/daveearley/daves-email-validation-tool/src/Validations/Validator.php on line 16



Deprecated: EmailValidation\Validations\Validator: :__construct(): Implicitly marking parameter $emailDataProvider as nullable is deprecated, the explicit nullable type must be used instead in vendor/daveearley/daves-email-validation-tool/src/Validations/Validator.php on line 16



Deprecated: EmailValidation\Validations\MxRecordsValidator: :checkDns(): Implicitly marking parameter $type as nullable is deprecated, the explicit nullable type must be used instead in vendor/daveearley/daves-email-validation-tool/src/Validations/MxRecordsValidator.php on line 31

its need an update like this in class
in abstract class Validator
public function __construct(?EmailAddress $emailAddress = null, ?EmailDataProviderInterface $emailDataProvider = null)
{
$this->emailAddress = $emailAddress;
$this->emailDataProvider = $emailDataProvider;
}

please generate new version for php8.4

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions