Skip to content

Commit aaaea31

Browse files
MorrisonHotelvyuldashev
authored andcommitted
Exchange type should be an option, not argument (vyuldashev#293)
1 parent ad2e9b9 commit aaaea31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Console/ExchangeDeclareCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public function handle(RabbitMQConnector $connector): void
3535

3636
$queue->declareExchange(
3737
$this->argument('name'),
38-
$this->argument('type'),
38+
$this->option('type'),
3939
(bool) $this->option('durable'),
4040
(bool) $this->option('auto-delete')
4141
);

0 commit comments

Comments
 (0)