File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 39
39
final class Session implements SessionInterface
40
40
{
41
41
private SessionConfiguration $ config ;
42
- /** @var ConnectionPoolInterface<Bolt > */
42
+ /** @var ConnectionPoolInterface<StreamSocket > */
43
43
private ConnectionPoolInterface $ pool ;
44
44
/** @var FormatterInterface<T> */
45
45
private FormatterInterface $ formatter ;
Original file line number Diff line number Diff line change @@ -88,7 +88,11 @@ private function routingTable(DriverInterface $driver): RoutingTable
88
88
/** @var iterable<array{addresses: list<string>, role:string}> $values */
89
89
$ values = [];
90
90
foreach ($ response as $ server ) {
91
- /** @psalm-suppress InvalidArrayAssignment */
91
+ /**
92
+ * @psalm-suppress InvalidArrayAssignment
93
+ *
94
+ * @var array{addresses: list<string>, role:string}
95
+ */
92
96
$ values [] = ['addresses ' => $ server ->get ('addresses ' ), 'role ' => $ server ->get ('role ' )];
93
97
}
94
98
You can’t perform that action at this time.
0 commit comments