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 aba1186 commit 6a667d9
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 @@ -400,7 +400,7 @@ private function createMessage($payload, int $attempts = 2): array
];
}

private function publishProperties(string $queue = '', array $options = []): array
private function publishProperties(?string $queue = '', array $options = []): array
{
$queue = $this->getQueue($queue);
$attempts = Arr::get($options, 'attempts') ?: 0;
Expand Down

0 comments on commit 6a667d9

Please sign in to comment.