mirror of
https://github.com/egulias/EmailValidator.git
synced 2026-09-05 06:58:21 +00:00
Update src/Parser.php
Co-authored-by: Alexander M. Turek <me@derrabus.de>
This commit is contained in:
committed by
GitHub
parent
44d20e3440
commit
ab22322b82
+1
-4
@@ -66,10 +66,7 @@ abstract class Parser
|
||||
{
|
||||
$this->lexer->moveNext();
|
||||
$this->lexer->moveNext();
|
||||
if ($this->lexer->token['type'] === EmailLexer::S_AT) {
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
return $this->lexer->token['type'] !== EmailLexer::S_AT;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user