Current Path : /home/lentoinv/props/vendor/egulias/email-validator/src/Parser/ |
Current File : /home/lentoinv/props/vendor/egulias/email-validator/src/Parser/IDLeftPart.php |
<?php namespace Egulias\EmailValidator\Parser; use Egulias\EmailValidator\Result\Result; use Egulias\EmailValidator\Parser\LocalPart; use Egulias\EmailValidator\Result\InvalidEmail; use Egulias\EmailValidator\Result\Reason\CommentsInIDRight; class IDLeftPart extends LocalPart { protected function parseComments(): Result { return new InvalidEmail(new CommentsInIDRight(), $this->lexer->token['value']); } }