From 5eeba719d3f1388f68773c28e3971a7f441ee919 Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Tue, 26 Nov 2024 17:10:11 +0100 Subject: [PATCH] Fix type --- 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 a5b17b517..6ca321e58 100644 --- a/src/Composer/Repository/VcsRepository.php +++ b/src/Composer/Repository/VcsRepository.php @@ -66,7 +66,7 @@ class VcsRepository extends ArrayRepository implements ConfigurableRepositoryInt private $driver; /** @var ?VersionCacheInterface */ private $versionCache; - /** @var string[] */ + /** @var list */ private $emptyReferences = []; /** @var array<'tags'|'branches', array> */ private $versionTransportExceptions = []; @@ -165,7 +165,7 @@ class VcsRepository extends ArrayRepository implements ConfigurableRepositoryInt } /** - * @return string[] + * @return list */ public function getEmptyReferences(): array {