Egulias\EmailValidator\EmailLexer::S_DOT of type integer is incompatible with the type Doctrine\Common\Lexer\T expected by parameter $types of Doctrine\Common\Lexer\Token::isA().
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-type annotation
49
if ($this->lexer->current->isA(/** @scrutinizer ignore-type */ EmailLexer::S_DOT) && $this->lexer->isNextToken(EmailLexer::S_DOT)) {
Loading history...
50
return new InvalidEmail(new ConsecutiveDot(), $this->lexer->current->value);
Egulias\EmailValidator\EmailLexer::S_BACKSLASH of type integer is incompatible with the type Doctrine\Common\Lexer\T expected by parameter $types of Doctrine\Common\Lexer\Token::isA().
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-type annotation