Completed
Push — master ( 056aa4...dab8bb )
by Insolita
03:08
created
src/Mixins/DelayingTrait.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
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 {
Please login to merge, or discard this patch.
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
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 {
Please login to merge, or discard this patch.