Skip to content

Commit 387063d

Browse files
Nullable fix
1 parent 49512e6 commit 387063d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Tokenizers/PHP.php

+1
Original file line numberDiff line numberDiff line change
@@ -2235,6 +2235,7 @@ protected function tokenize($string)
22352235
if ($tokenType === T_FUNCTION
22362236
|| $tokenType === T_FN
22372237
|| isset(Tokens::$methodPrefixes[$tokenType]) === true
2238+
|| isset(Tokens::$scopeModifiers[$tokenType]) === true
22382239
|| $tokenType === T_VAR
22392240
|| $tokenType === T_READONLY
22402241
) {

0 commit comments

Comments
 (0)