Skip to content

Commit e5b1cd8

Browse files
committed
Properly parse options when the value of the option is '='.
1 parent 1b5dc58 commit e5b1cd8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Components/OptionsArray.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ public static function parse(Parser $parser, TokensList $list, array $options =
197197
}
198198
} elseif ($state === 1) {
199199
$state = 2;
200-
if ($token->value === '=') {
200+
if ($token->token === '=') {
201201
$ret->options[$lastOptionId]['equals'] = true;
202202
continue;
203203
}

0 commit comments

Comments
 (0)