1
0
Fork 0

added phpdocs (#8754)

pull/8760/head
Markus Staab 2020-04-09 13:44:30 +02:00 committed by GitHub
parent 59c831c2f8
commit 6f6974df70
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 15 additions and 0 deletions

View File

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