1
0
Fork 0
mirror of https://github.com/composer/composer synced 2025-05-10 17:12:51 +00:00

Lots of typing improvements

This commit is contained in:
Jordi Boggiano 2021-10-12 22:47:23 +02:00
parent 1e3f7cfcba
commit d1c8a4d1b4
No known key found for this signature in database
GPG key ID: 7BBD42C429EC80BC
46 changed files with 361 additions and 106 deletions

View file

@ -91,9 +91,9 @@ class ComposerRepository extends ArrayRepository implements ConfigurableReposito
private $allowSslDowngrade = false;
/** @var ?EventDispatcher */
private $eventDispatcher;
/** @var ?array<string, array{url: string, preferred: bool}> */
/** @var ?array<string, array<int, array{url: string, preferred: bool}>> */
private $sourceMirrors;
/** @var ?array<string, array{url: string, preferred: bool}> */
/** @var ?array<int, array{url: string, preferred: bool}> */
private $distMirrors;
/** @var bool */
private $degradedMode = false;