diff --git a/src/Composer/Downloader/GitDownloader.php b/src/Composer/Downloader/GitDownloader.php index 5943f1e77..37e7f94da 100644 --- a/src/Composer/Downloader/GitDownloader.php +++ b/src/Composer/Downloader/GitDownloader.php @@ -27,9 +27,24 @@ use Composer\Cache; */ class GitDownloader extends VcsDownloader implements DvcsDownloaderInterface { + /** + * @var bool[] + * @psalm-var array + */ private $hasStashedChanges = array(); + /** + * @var bool[] + * @psalm-var array + */ private $hasDiscardedChanges = array(); + /** + * @var GitUtil + */ private $gitUtil; + /** + * @var array + * @psalm-var array> + */ private $cachedPackages = array(); public function __construct(IOInterface $io, Config $config, ProcessExecutor $process = null, Filesystem $fs = null)