Skip to content

Commit 1dd35aa

Browse files
committed
fixes #108
1 parent e2a3e9f commit 1dd35aa

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Neo4j/Neo4jConnectionPool.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,10 @@ public function acquire(
8282

8383
$authenticate = Authenticate::fromUrl($uri);
8484

85+
if ($server->getScheme() === '') {
86+
$server = $server->withScheme($uri->getScheme());
87+
}
88+
8589
return $this->pool->acquire($uri, $authenticate, $config, $table, $server);
8690
}
8791

0 commit comments

Comments
 (0)