1
0
Fork 0
mirror of https://github.com/composer/composer synced 2025-05-10 00:53:06 +00:00

Type annotations

This commit is contained in:
Jordi Boggiano 2021-10-16 10:16:06 +02:00
parent 626370d444
commit c3c6969cf5
No known key found for this signature in database
GPG key ID: 7BBD42C429EC80BC
21 changed files with 166 additions and 35 deletions

View file

@ -18,10 +18,13 @@ use Composer\Downloader\TransportException;
class HttpDownloaderMock extends HttpDownloader
{
/**
* @var array<string, string>
*/
protected $contentMap;
/**
* @param array $contentMap associative array of locations and content
* @param array<string, string> $contentMap associative array of locations and content
*/
public function __construct(array $contentMap)
{