File tree Expand file tree Collapse file tree 2 files changed +2
-7
lines changed Expand file tree Collapse file tree 2 files changed +2
-7
lines changed Original file line number Diff line number Diff line change 1212 "php" : " ^8.0" ,
1313 "ext-json" : " *" ,
1414 "illuminate/queue" : " ^9.0|^10.0" ,
15- "php-amqplib/php-amqplib" : " ^v3.3 "
15+ "php-amqplib/php-amqplib" : " ^v3.4 "
1616 },
1717 "require-dev" : {
1818 "phpunit/phpunit" : " ^9.3" ,
Original file line number Diff line number Diff line change @@ -159,11 +159,6 @@ protected static function getReadWriteTimeout(AMQPConnectionConfig $config): flo
159159
160160 protected static function getSslOptions (AMQPConnectionConfig $ config ): array
161161 {
162- $ securityLevel = null ;
163- if (method_exists ($ config , 'getSslSecurityLevel ' )) {
164- $ securityLevel = $ config ->getSslSecurityLevel ();
165- }
166-
167162 return array_filter ([
168163 'cafile ' => $ config ->getSslCaCert (),
169164 'capath ' => $ config ->getSslCaPath (),
@@ -173,7 +168,7 @@ protected static function getSslOptions(AMQPConnectionConfig $config): array
173168 'verify_peer_name ' => $ config ->getSslVerifyName (),
174169 'passphrase ' => $ config ->getSslPassPhrase (),
175170 'ciphers ' => $ config ->getSslCiphers (),
176- 'security_level ' => $ securityLevel ,
171+ 'security_level ' => $ config -> getSslSecurityLevel () ,
177172 ], static function ($ value ) {
178173 return $ value !== null ;
179174 });
You can’t perform that action at this time.
0 commit comments