Skip to content

Commit

Permalink
Fix annotation parsing states
Browse files Browse the repository at this point in the history
  • Loading branch information
thekid committed Mar 23, 2024
1 parent f82b874 commit 354917b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/main/php/lang/reflect/ClassParser.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -280,8 +280,7 @@ protected function value($tokens, &$i, $context, $imports) {
public function parseAnnotations($bytes, $context, $imports= [], $line= -1) {
static $states= [
'annotation', 'annotation name', 'annotation value',
'annotation map key', 'annotation map value',
'multi-value'
'annotation named argument', 'annotation named argument value'
];

// BC when class name is passed for context
Expand Down

0 comments on commit 354917b

Please sign in to comment.