Skip to content

Commit da9ad2c

Browse files
committed
Different fix - part 3
1 parent f78415e commit da9ad2c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Tokenizers/PHP.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2268,7 +2268,7 @@ protected function tokenize($string)
22682268
}
22692269

22702270
if ($prevNonEmpty === null
2271-
&& isset(Tokens::$emptyTokens[$tokenType]) === false
2271+
&& @isset(Tokens::$emptyTokens[$tokenType]) === false
22722272
) {
22732273
// Found the previous non-empty token.
22742274
if ($tokenType === ':' || $tokenType === ',' || $tokenType === T_ATTRIBUTE_END) {
@@ -2311,7 +2311,7 @@ protected function tokenize($string)
23112311
break;
23122312
}
23132313

2314-
if (isset(Tokens::$emptyTokens[$tokenType]) === false) {
2314+
if (@isset(Tokens::$emptyTokens[$tokenType]) === false) {
23152315
$lastSeenNonEmpty = $tokenType;
23162316
}
23172317
}//end for

0 commit comments

Comments
 (0)