mirror of
https://github.com/egulias/EmailValidator.git
synced 2026-08-21 16:14:13 +00:00
improving types
This commit is contained in:
@@ -58,7 +58,7 @@ class MultipleValidationWithAnd implements EmailValidation
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function isValid($email, EmailLexer $emailLexer) : bool
|
||||
public function isValid(string $email, EmailLexer $emailLexer) : bool
|
||||
{
|
||||
$result = true;
|
||||
foreach ($this->validations as $validation) {
|
||||
|
||||
Reference in New Issue
Block a user