From 346356a4dd62967f1b4df6a91a562a1cb9078cfc Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Wed, 10 Mar 2021 13:44:42 +0100 Subject: [PATCH] Fix phpdoc --- src/Composer/Util/StreamContextFactory.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Composer/Util/StreamContextFactory.php b/src/Composer/Util/StreamContextFactory.php index ed402a624..e189c20ca 100644 --- a/src/Composer/Util/StreamContextFactory.php +++ b/src/Composer/Util/StreamContextFactory.php @@ -59,7 +59,7 @@ final class StreamContextFactory * @param string $url * @param array $options * @param bool $forCurl When true, will not add proxy values as these are handled separately - * @phpstan-return array{http:{header: string[], proxy?: string, request_fulluri: bool}, ssl: array} + * @phpstan-return array{http: array{header: string[], proxy?: string, request_fulluri: bool}, ssl: array} * @return array formatted as a stream context array */ public static function initOptions($url, array $options, $forCurl = false)