Explorar o código

added phpdocs (#8754)

Markus Staab %!s(int64=5) %!d(string=hai) anos
pai
achega
6f6974df70
Modificáronse 1 ficheiros con 15 adicións e 0 borrados
  1. 15 0
      src/Composer/Downloader/GitDownloader.php

+ 15 - 0
src/Composer/Downloader/GitDownloader.php

@@ -27,9 +27,24 @@ use Composer\Cache;
  */
 class GitDownloader extends VcsDownloader implements DvcsDownloaderInterface
 {
+    /**
+     * @var bool[]
+     * @psalm-var array<string, bool>
+     */
     private $hasStashedChanges = array();
+    /**
+     * @var bool[]
+     * @psalm-var array<string, bool>
+     */
     private $hasDiscardedChanges = array();
+    /**
+     * @var GitUtil
+     */
     private $gitUtil;
+    /**
+     * @var array
+     * @psalm-var array<int, array<string, bool>>
+     */
     private $cachedPackages = array();
 
     public function __construct(IOInterface $io, Config $config, ProcessExecutor $process = null, Filesystem $fs = null)