From 6f6974df706cd4945a552f43f37fff82d1d1533e Mon Sep 17 00:00:00 2001 From: Markus Staab <47448731+clxmstaab@users.noreply.github.com> Date: Thu, 9 Apr 2020 13:44:30 +0200 Subject: [PATCH] added phpdocs (#8754) --- src/Composer/Downloader/GitDownloader.php | 15 +++++++++++++++ 1 file changed, 15 insertions(+) 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)