Skip to content

Commit

Permalink
fixes zadd method call signature to be compatible with M6Web/RedisMock
Browse files Browse the repository at this point in the history
  • Loading branch information
Tilen Leban committed Feb 20, 2018
1 parent 49c83fc commit 016a823
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ private function atomicPush($jobId, $class, $args = [], $queue = self::QUEUE, $r
$this->redis->sadd($this->name('queues'), $queue);
$this->redis->lpush($this->name('queue', $queue), $job);
} else {
$this->redis->zadd($this->name('schedule'), [$job => $doAt]);
$this->redis->zadd($this->name('schedule'), $doAt, $job);
}
}

Expand Down

0 comments on commit 016a823

Please sign in to comment.