Use php nullsafe operator to fix type issues

This commit is contained in:
Bastien Wermeille
2022-12-18 22:04:37 +01:00
parent 0841364b8d
commit f9e4bc5835
16 changed files with 101 additions and 103 deletions
+1 -3
View File
@@ -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;