Type the configured transport registry for psalm
This commit is contained in:
1 parent
86d47b17ae
commit
4bb906a5d6
1 file changed
+1
@@ -471,6 +471,7 @@ class FakeHttp
|
||||
$transport = new HeaderTransport(static::AUTH_TOKEN_HEADER_KEY);
|
||||
|
||||
try {
|
||||
/** @var TransportRegistry $configured */
|
||||
$configured = $this->container->get(TransportRegistry::class);
|
||||
foreach (\array_keys($configured->getTransports()) as $name) {
|
||||
$registry->setTransport((string) $name, $transport);
|
||||
|
||||
Reference in new issue
Block a user