Skip to content

Commit

Permalink
feat: Update BoltConnection to accept new added versions
Browse files Browse the repository at this point in the history
  • Loading branch information
exaby73 committed Jul 23, 2024
1 parent 7c8b690 commit 97744d7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Bolt/BoltConnection.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
use Bolt\protocol\Response;
use Bolt\protocol\V4_4;
use Bolt\protocol\V5;
use Bolt\protocol\V5_1;
use Bolt\protocol\V5_2;
use Bolt\protocol\V5_3;
use Bolt\protocol\V5_4;
use Laudis\Neo4j\Common\ConnectionConfiguration;
Expand Down Expand Up @@ -68,7 +70,7 @@ public function getImplementation(): array
* @psalm-mutation-free
*/
public function __construct(
private V4_4|V5|V5_3|V5_4 $boltProtocol,
private V4_4|V5|V5_1|V5_2|V5_3|V5_4 $boltProtocol,
private readonly Connection $connection,
private readonly AuthenticateInterface $auth,
private readonly string $userAgent,
Expand Down

0 comments on commit 97744d7

Please sign in to comment.