Skip to content

Commit 309be53

Browse files
Nullable fix
1 parent c817433 commit 309be53

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
@@ -2195,6 +2195,7 @@ protected function tokenize($string)
21952195
if ($tokenType === T_FUNCTION
21962196
|| $tokenType === T_FN
21972197
|| isset(Tokens::$methodPrefixes[$tokenType]) === true
2198+
|| isset(Tokens::$scopeModifiers[$tokenType]) === true
21982199
|| $tokenType === T_VAR
21992200
|| $tokenType === T_READONLY
22002201
) {

0 commit comments

Comments
 (0)