@@ -20,7 +20,7 @@ |
||
| 20 | 20 | if ($delay === 0) { |
| 21 | 21 | if ($this->storage->zSetExists($this->delayedKey(), $identity)) { |
| 22 | 22 | $this->storage->moveFromZSetToList($this->queueKey(), $this->delayedKey(), $identity); |
| 23 | - }elseif ($force === true || !in_array($identity, $this->storage->listItems($this->queueKey()))){ |
|
| 23 | + }elseif ($force === true || !in_array($identity, $this->storage->listItems($this->queueKey()))) { |
|
| 24 | 24 | $this->storage->listPush($this->queueKey(), [$identity]); |
| 25 | 25 | } |
| 26 | 26 | } else { |
@@ -20,7 +20,7 @@ |
||
| 20 | 20 | if ($delay === 0) { |
| 21 | 21 | if ($this->storage->zSetExists($this->delayedKey(), $identity)) { |
| 22 | 22 | $this->storage->moveFromZSetToList($this->queueKey(), $this->delayedKey(), $identity); |
| 23 | - }elseif ($force === true || !in_array($identity, $this->storage->listItems($this->queueKey()))){ |
|
| 23 | + } elseif ($force === true || !in_array($identity, $this->storage->listItems($this->queueKey()))){ |
|
| 24 | 24 | $this->storage->listPush($this->queueKey(), [$identity]); |
| 25 | 25 | } |
| 26 | 26 | } else { |