Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b1724b8

Browse files
Use proper version compare
1 parent 53fb36c commit b1724b8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/RedisTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4968,7 +4968,7 @@ public function testScan() {
49684968
$this->assertEquals(0, $i);
49694969

49704970
// SCAN with type is scheduled for release in Redis 6.
4971-
if (version_compare($this->version, "6.0.0", "gte") >= 0) {
4971+
if (version_compare($this->version, "6.0.0") >= 0) {
49724972
// Use a unique ID so we can find our type keys
49734973
$id = uniqid();
49744974

0 commit comments

Comments
 (0)