Skip to content

Commit 30d13f4

Browse files
committed
Return null
1 parent 337b59d commit 30d13f4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Illuminate/Validation/Concerns/FilterEmailValidation.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public static function unicode()
4343
* @param \Egulias\EmailValidator\EmailLexer $emailLexer
4444
* @return bool
4545
*/
46-
public function isValid(string $email, EmailLexer $emailLexer) : bool
46+
public function isValid(string $email, EmailLexer $emailLexer): bool
4747
{
4848
return is_null($this->flags)
4949
? filter_var($email, FILTER_VALIDATE_EMAIL) !== false
@@ -57,7 +57,7 @@ public function isValid(string $email, EmailLexer $emailLexer) : bool
5757
*/
5858
public function getError(): ?InvalidEmail
5959
{
60-
//
60+
return null;
6161
}
6262

6363
/**

0 commit comments

Comments
 (0)