File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed
Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -1620,11 +1620,6 @@ parameters:
16201620 count : 1
16211621 path : src/Token.php
16221622
1623- -
1624- message : " #^Only booleans are allowed in a negated boolean, int\\ <0, 16\\ > given\\ .$#"
1625- count : 1
1626- path : src/Token.php
1627-
16281623 -
16291624 message : " #^Only booleans are allowed in a negated boolean, int\\ <0, 2\\ > given\\ .$#"
16301625 count : 1
Original file line number Diff line number Diff line change @@ -264,7 +264,10 @@ public function extract()
264264 }
265265 } elseif (($ this ->flags & self ::FLAG_NUMBER_APPROXIMATE ) || ($ this ->flags & self ::FLAG_NUMBER_FLOAT )) {
266266 $ ret = (float ) $ ret ;
267- } elseif (! ($ this ->flags & self ::FLAG_NUMBER_BINARY ) && ! ($ this ->flags & self ::FLAG_NUMBER_HEX_STRING )) {
267+ } elseif (
268+ ($ this ->flags & self ::FLAG_NUMBER_BINARY ) === 0
269+ && ($ this ->flags & self ::FLAG_NUMBER_HEX_STRING ) === 0
270+ ) {
268271 $ ret = (int ) $ ret ;
269272 }
270273
You can’t perform that action at this time.
0 commit comments