Skip to content

Commit

Permalink
Update RabbitQueue.php
Browse files Browse the repository at this point in the history
  • Loading branch information
iamfarhad authored Jan 1, 2023
1 parent c9ab482 commit 8bf0417
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/RabbitQueue.php
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ public function pop($queue = null)
return null;
}

public function getQueue(string $queue = null): string
public function getQueue(?string $queue = null): string
{
return $queue ?? $this->defaultQueue;
}
Expand Down

0 comments on commit 8bf0417

Please sign in to comment.