Skip to content

Commit 8c29121

Browse files
exaby73transistive
authored andcommitted
feat: Update BoltConnection types
1 parent e9161ae commit 8c29121

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Bolt/BoltConnection.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
use WeakReference;
3838

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

6161
/**
62-
* @return array{0: V4_4|V5|V5_3|V5_4, 1: Connection}
62+
* @return array{0: V4_4|V5|V5_1|V5_2|V5_3|V5_4, 1: Connection}
6363
*/
6464
public function getImplementation(): array
6565
{
@@ -270,7 +270,7 @@ public function rollback(): void
270270
$this->assertNoFailure($response);
271271
}
272272

273-
public function protocol(): V4_4|V5|V5_3|V5_4
273+
public function protocol(): V4_4|V5|V5_1|V5_2|V5_3|V5_4
274274
{
275275
return $this->boltProtocol;
276276
}

0 commit comments

Comments
 (0)