Skip to content

Commit

Permalink
feat: Update BoltConnection types
Browse files Browse the repository at this point in the history
  • Loading branch information
exaby73 committed Jul 23, 2024
1 parent 97744d7 commit a1b8aef
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Bolt/BoltConnection.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
use WeakReference;

/**
* @implements ConnectionInterface<array{0: V4_4|V5|V5_3|V5_4, 1: Connection}>
* @implements ConnectionInterface<array{0: V4_4|V5|V5_1|V5_2|V5_3|V5_4, 1: Connection}>
*
* @psalm-import-type BoltMeta from FormatterInterface
*/
Expand All @@ -59,7 +59,7 @@ class BoltConnection implements ConnectionInterface
private array $subscribedResults = [];

/**
* @return array{0: V4_4|V5|V5_3|V5_4, 1: Connection}
* @return array{0: V4_4|V5|V5_1|V5_2|V5_3|V5_4, 1: Connection}
*/
public function getImplementation(): array
{
Expand Down Expand Up @@ -270,7 +270,7 @@ public function rollback(): void
$this->assertNoFailure($response);
}

public function protocol(): V4_4|V5|V5_3|V5_4
public function protocol(): V4_4|V5|V5_1|V5_2|V5_3|V5_4
{
return $this->boltProtocol;
}
Expand Down

0 comments on commit a1b8aef

Please sign in to comment.