Correcting PHPDoc typehint for lexer factory mock instance in test.