Skip to content

Commit

Permalink
More realistic value for T_BOOL
Browse files Browse the repository at this point in the history
  • Loading branch information
PowerKiKi committed Jul 28, 2024
1 parent 3abea5f commit 461a3d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/AbstractLexerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ public function testCanTokenizeFloatValue(): void
final public const T_NONE = 1;
final public const T_INTEGER = 2;
final public const T_FLOAT = 4;
final public const T_BOOL = 4;
final public const T_BOOL = 8;

protected function getType(string|int|float|bool &$value): int
{
Expand Down

0 comments on commit 461a3d7

Please sign in to comment.