improving types

This commit is contained in:
Eduardo Gulias Davis
2020-12-05 23:16:56 +01:00
parent 3dc66acf64
commit 790881fe75
8 changed files with 8 additions and 13 deletions
+1 -1
View File
@@ -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) {