Skip to content

Commit a164428

Browse files
committed
support laravel 9 and 10
1 parent 0f8ef83 commit a164428

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

composer.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,17 @@
99
}
1010
],
1111
"require": {
12-
"php": "^7.3|^8.0",
12+
"php": "^8.0",
1313
"ext-json": "*",
14-
"illuminate/queue": "^8.0",
14+
"illuminate/queue": "^9.0|^10.0",
1515
"php-amqplib/php-amqplib": "^2.12|^3.0"
1616
},
1717
"require-dev": {
18-
"phpunit/phpunit": "^9.3",
18+
"phpunit/phpunit": "^9.5|^10.0",
1919
"mockery/mockery": "^1.0",
2020
"laravel/horizon": "^5.0",
2121
"friendsofphp/php-cs-fixer": "^2.17",
22-
"orchestra/testbench": "^6.0"
22+
"orchestra/testbench": "^7.0|^8.0"
2323
},
2424
"autoload": {
2525
"psr-4": {

src/Queue/RabbitMQQueue.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -781,8 +781,7 @@ protected function declareDestination(string $destination, string $exchange = nu
781781
}
782782

783783
// Create a queue for amq.direct publishing.
784-
return $this->exclusiveDeclareQueue($destination, $this->channel);
785-
//return $this->declareQueue($destination, true, false, $this->getQueueArguments($destination));
784+
$this->exclusiveDeclareQueue($destination, $this->channel);
786785
}
787786

788787
/**

0 commit comments

Comments
 (0)