We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 65aa043 + ff32a63 commit a3cc1f0Copy full SHA for a3cc1f0
tests/RedisTest.php
@@ -452,7 +452,7 @@ public function testSetTimeout() {
452
public function testExpireAt() {
453
$this->redis->del('key');
454
$this->redis->set('key', 'value');
455
- $now = time(NULL);
+ $now = time();
456
$this->redis->expireAt('key', $now + 1);
457
$this->assertEquals('value', $this->redis->get('key'));
458
sleep(2);
0 commit comments