@@ -14,7 +14,7 @@ discard block |
||
| 14 | 14 | */ |
| 15 | 15 | public function register(): array |
| 16 | 16 | { |
| 17 | - return [T_ISSET]; |
|
| 17 | + return [ T_ISSET ]; |
|
| 18 | 18 | } |
| 19 | 19 | |
| 20 | 20 | /** |
@@ -49,15 +49,15 @@ discard block |
||
| 49 | 49 | $semiColinFound = false; |
| 50 | 50 | |
| 51 | 51 | while (true) { |
| 52 | - if ($tokens[$index]['type'] == 'T_SEMICOLON') { |
|
| 52 | + if ($tokens[ $index ][ 'type' ] == 'T_SEMICOLON') { |
|
| 53 | 53 | break; |
| 54 | 54 | } |
| 55 | 55 | |
| 56 | - if ($tokens[$index]['type'] == 'T_INLINE_THEN') { |
|
| 56 | + if ($tokens[ $index ][ 'type' ] == 'T_INLINE_THEN') { |
|
| 57 | 57 | $questionMarkFound = true; |
| 58 | 58 | } |
| 59 | 59 | |
| 60 | - if ($tokens[$index]['type'] == 'T_INLINE_ELSE') { |
|
| 60 | + if ($tokens[ $index ][ 'type' ] == 'T_INLINE_ELSE') { |
|
| 61 | 61 | $semiColinFound = true; |
| 62 | 62 | } |
| 63 | 63 | $index++; |