mirror of
https://github.com/egulias/EmailValidator.git
synced 2026-09-05 15:10:33 +00:00
Remove commens
This commit is contained in:
@@ -23,13 +23,8 @@ class LocalPart extends Parser
|
||||
$closingQuote = $this->checkDQUOTE($closingQuote);
|
||||
if ($closingQuote && $parseDQuote) {
|
||||
$parseDQuote = $this->parseDoubleQuote();
|
||||
// $closingQuote = false;
|
||||
}
|
||||
|
||||
// if ($closingQuote && !$parseDQuote) {
|
||||
// throw new InvalidArgumentException("ERR_DOUBLE_DQUOTE");
|
||||
// }
|
||||
|
||||
if ($this->lexer->token['type'] === EmailLexer::S_OPENPARENTHESIS) {
|
||||
$this->parseComments();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user