mirror of
https://github.com/egulias/EmailValidator.git
synced 2026-08-29 19:49:34 +00:00
Use php nullsafe operator to fix type issues
This commit is contained in:
+1
-3
@@ -140,9 +140,7 @@ class EmailLexer extends AbstractLexer
|
||||
/**
|
||||
* The last matched/seen token.
|
||||
*
|
||||
* @var Token<int, string>
|
||||
*
|
||||
* @psalm-suppress NonInvariantDocblockPropertyType
|
||||
* @var Token<int, string>|null
|
||||
*/
|
||||
public Token|null $token;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user