Skip to content

Conversation

@lephleg
Copy link

@lephleg lephleg commented Jul 14, 2017

No description provided.


// if the current queue has been already declared, skip this
if (!in_array($name, $this->declaredQueues)) {
array_push($this->declaredQueues, $name);
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider using $this->declareQueues[] = $name instead of array_push


// if the current delayed queue has been already declared, skip this
if (!in_array($name, $this->declaredDelayedQueues)) {
array_push($this->declaredDelayedQueues, $name);
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The same change is required here.

@vyuldashev vyuldashev merged commit 167a4b1 into vyuldashev:v4.2 Jul 14, 2017
@vyuldashev
Copy link
Owner

Tagged release 4.2 again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants