Skip to content

Commit be07394

Browse files
GinoPanetransistive
authored andcommitted
Remove nullsafe for 7.4 support
1 parent b1cedc4 commit be07394

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Neo4j/Neo4jConnectionPool.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ private function createKey(ConnectionRequestData $data, ?SessionConfiguration $c
289289

290290
$key = implode(
291291
':',
292-
array_filter([$data->getUserAgent(), $uri->getHost(), $config?->getDatabase(), $uri->getPort() ?? '7687'])
292+
array_filter([$data->getUserAgent(), $uri->getHost(), $config ? $config->getDatabase() : null, $uri->getPort() ?? '7687'])
293293
);
294294

295295
return str_replace([

0 commit comments

Comments
 (0)