Skip to content

Commit e9161ae

Browse files
exaby73transistive
authored andcommitted
feat: Update BoltConnection to accept new added versions
1 parent c6104b1 commit e9161ae

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Bolt/BoltConnection.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@
1818
use Bolt\protocol\Response;
1919
use Bolt\protocol\V4_4;
2020
use Bolt\protocol\V5;
21+
use Bolt\protocol\V5_1;
22+
use Bolt\protocol\V5_2;
2123
use Bolt\protocol\V5_3;
2224
use Bolt\protocol\V5_4;
2325
use Laudis\Neo4j\Common\ConnectionConfiguration;
@@ -68,7 +70,7 @@ public function getImplementation(): array
6870
* @psalm-mutation-free
6971
*/
7072
public function __construct(
71-
private V4_4|V5|V5_3|V5_4 $boltProtocol,
73+
private V4_4|V5|V5_1|V5_2|V5_3|V5_4 $boltProtocol,
7274
private readonly Connection $connection,
7375
private readonly AuthenticateInterface $auth,
7476
private readonly string $userAgent,

0 commit comments

Comments
 (0)