mirror of
https://github.com/egulias/EmailValidator.git
synced 2026-09-05 06:58:21 +00:00
@@ -59,7 +59,8 @@ class Comment extends PartParser
|
||||
|
||||
if($this->openedParenthesis >= 1) {
|
||||
return new InvalidEmail(new UnclosedComment(), $this->lexer->token['value']);
|
||||
} else if ($this->openedParenthesis < 0) {
|
||||
}
|
||||
if ($this->openedParenthesis < 0) {
|
||||
return new InvalidEmail(new UnOpenedComment(), $this->lexer->token['value']);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user