From 012556daeea9011c202dd07a8a226caad98664ac Mon Sep 17 00:00:00 2001 From: Stephan Date: Thu, 11 Nov 2021 11:24:47 +0000 Subject: [PATCH] VcsRepository: limit type of versionTransportExceptions (#10275) --- src/Composer/Repository/VcsRepository.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Composer/Repository/VcsRepository.php b/src/Composer/Repository/VcsRepository.php index a988ada34..b6b0f7cc2 100644 --- a/src/Composer/Repository/VcsRepository.php +++ b/src/Composer/Repository/VcsRepository.php @@ -66,7 +66,7 @@ class VcsRepository extends ArrayRepository implements ConfigurableRepositoryInt private $versionCache; /** @var string[] */ private $emptyReferences = array(); - /** @var array<'tags'|'branches', array> */ + /** @var array<'tags'|'branches', array> */ private $versionTransportExceptions = array(); /** @@ -180,7 +180,7 @@ class VcsRepository extends ArrayRepository implements ConfigurableRepositoryInt } /** - * @return array<'tags'|'branches', array> + * @return array<'tags'|'branches', array> */ public function getVersionTransportExceptions() {