mirror of
https://github.com/composer/composer
synced 2025-05-10 00:53:06 +00:00
Type annotations
This commit is contained in:
parent
626370d444
commit
c3c6969cf5
21 changed files with 166 additions and 35 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue