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.
1 parent 65aa043 commit ff32a63Copy full SHA for ff32a63
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