Skip to content
This repository has been archived by the owner on Sep 26, 2024. It is now read-only.

Commit

Permalink
fixed code style
Browse files Browse the repository at this point in the history
  • Loading branch information
Dropelikeit committed Jun 24, 2021
1 parent 8a31e7a commit 7e32d8c
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
3 changes: 3 additions & 0 deletions src/Validator/IsNotTemporaryEmailValidator.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
11 changes: 9 additions & 2 deletions src/Validator/IsNotTemporaryEmailValidator/Factory.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 7e32d8c

Please sign in to comment.