Skip to content

Allow to call QueueProvideer::withChannelName()#116

Open
viktorprogger wants to merge 4 commits intomasterfrom
fix-queue-provider-with-channel-name-creation
Open

Allow to call QueueProvideer::withChannelName()#116
viktorprogger wants to merge 4 commits intomasterfrom
fix-queue-provider-with-channel-name-creation

Conversation

@viktorprogger
Copy link
Contributor

Q A
Is bugfix? ✔️
New feature?
Breaks BC?
Fixed issues #115

@viktorprogger viktorprogger self-assigned this May 4, 2025
…with-channel-name-creation

# Conflicts:
#	src/Exception/ExchangeDeclaredException.php
$this->channel->exchange_declare(...$this->exchangeSettings->getPositionalSettings());
$this->channel->queue_bind($this->queueSettings->getName(), $this->exchangeSettings->getName());
}
$this->channel->exchange_declare(...$this->exchangeSettings->getPositionalSettings());
Copy link
Member

Choose a reason for hiding this comment

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

$this->exchangeSettings can be null, so an error may occur in this line. Refactor class to exclude case when private ?AMQPChannel $channel = null; may be null.

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.

4 participants