We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 44ba3e0 + bcba388 commit f35c8a9Copy full SHA for f35c8a9
composer.json
@@ -18,10 +18,10 @@
18
},
19
"authors": [
20
{
21
- "name": "Pavel Janda"
+ "name": "Radovan Kepák"
22
23
24
- "name": "Radovan Kepák"
+ "name": "Pavel Janda"
25
}
26
],
27
"autoload": {
src/DI/Helpers/ExchangesHelper.php
@@ -41,10 +41,10 @@ public function getExchangeSchema(): Schema
41
'queueBindings' => Expect::arrayOf(
42
Expect::structure([
43
'routingKey' => Expect::anyOf(
44
- Expect::string(),
+ Expect::type('string|int')->castTo('string'),
45
Expect::arrayOf(
46
- Expect::string()
47
- )
+ ),
48
)->default([''])->castTo('array'),
49
'noWait' => Expect::bool(false),
50
'arguments' => Expect::array(),
0 commit comments