Skip to content

Commit a6937e2

Browse files
committed
PHPLIB-1650: Fix Int64 detection in Matches::isNumeric()
This was discovered by adding flexible numeric comparisons to the $$lte tests.
1 parent 99c9c33 commit a6937e2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/UnifiedSpecTests/Constraint/Matches.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
use LogicException;
66
use MongoDB\BSON\Document;
7+
use MongoDB\BSON\Int64;
78
use MongoDB\BSON\Serializable;
89
use MongoDB\BSON\Type;
910
use MongoDB\Model\BSONArray;

0 commit comments

Comments
 (0)