Skip to content

Commit 17b13a2

Browse files
committed
fixed bug when using deprecated client builder methods without ssl
1 parent 624ed99 commit 17b13a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ClientBuilder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ public function addBoltConnection(string $alias, string $url, BoltConfiguration
107107
$parsedUrl = Uri::create($url);
108108
$options = $config->getSslContextOptions();
109109
$postScheme = '';
110-
if ($options !== []) {
110+
if ($options && $options !== []) {
111111
if (($options['allow_self_signed'] ?? false) === true) {
112112
$postScheme = '+ssc';
113113
} else {

0 commit comments

Comments
 (0)