Merge branch 'message-id-validator' of github.com:egulias/EmailValidator into message-id-validator

This commit is contained in:
Eduardo Gulias Davis
2021-03-06 18:15:56 +01:00
+3 -7
View File
@@ -10,9 +10,8 @@ use Egulias\EmailValidator\Result\Reason\ExpectingATEXT;
abstract class Parser
{
/**
* @var array
* @var Warning\Warning[]
*/
protected $warnings = [];
/**
@@ -73,10 +72,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;
}
}
}