Skip to content

Commit

Permalink
Merge 55a9bfb into 1702fd5
Browse files Browse the repository at this point in the history
  • Loading branch information
peter279k committed Jan 13, 2020
2 parents 1702fd5 + 55a9bfb commit 138d098
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ branches:
matrix:
fast_finish: true
include:
- php: 7.4
- php: 7.3
- php: 7.2
- php: 7.1
Expand Down
2 changes: 1 addition & 1 deletion src/Command/Queue/Pull/MemoryUniquePullCommandQueue.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public function publish(Command $command)
$index = array_search($command, $this->commands);

// remove exists command and publish it again
if ($index !== false) {
if (false !== $index) {
unset($this->commands[$index]);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public function unsubscribe(callable $handler)
{
$index = array_search($handler, $this->handlers);

if ($index === false) {
if (false === $index) {
return false;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ public function unsubscribe(callable $handler)
{
$index = array_search($handler, $this->handlers);

if ($index === false) {
if (false === $index) {
return false;
}

Expand Down

0 comments on commit 138d098

Please sign in to comment.