Skip to content

Commit

Permalink
Fixed truthy condition
Browse files Browse the repository at this point in the history
  • Loading branch information
bckp committed Mar 14, 2024
1 parent f98d569 commit 73720c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DI/RabbitMQExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ protected function processExtensions(array &$config): void
$queueDlxArguments = [];

# If we have set queue type, dlx should copy it
if ($config['queues'][$name]['arguments']['x-queue-type'] ?? false) {
if (is_string($config['queues'][$name]['arguments']['x-queue-type'] ?? false)) {
$queueDlxArguments['x-queue-type'] = $config['queues'][$name]['arguments']['x-queue-type'];
}

Expand Down

0 comments on commit 73720c5

Please sign in to comment.