diff --git a/src/Validator/IsNotTemporaryEmailValidator.php b/src/Validator/IsNotTemporaryEmailValidator.php index a25b485..be0b0c5 100644 --- a/src/Validator/IsNotTemporaryEmailValidator.php +++ b/src/Validator/IsNotTemporaryEmailValidator.php @@ -31,6 +31,9 @@ public function __construct(Client $client, ?array $options = null) $this->client = $client; } + /** + * @param mixed $value + */ public function isValid($value): bool { $this->setValue($value); diff --git a/src/Validator/IsNotTemporaryEmailValidator/Factory.php b/src/Validator/IsNotTemporaryEmailValidator/Factory.php index 7a89a67..fbd65fb 100644 --- a/src/Validator/IsNotTemporaryEmailValidator/Factory.php +++ b/src/Validator/IsNotTemporaryEmailValidator/Factory.php @@ -12,8 +12,15 @@ final class Factory implements FactoryInterface { - public function __invoke(ContainerInterface $container, $requestedName, ?array $options = null): IsNotTemporaryEmailValidator - { + /** + * @param string $requestedName + * @param array|null $options + */ + public function __invoke( + ContainerInterface $container, + $requestedName, + ?array $options = null + ): IsNotTemporaryEmailValidator { /** @var Client $client */ $client = $container->get(ClientInterface::class);