1
0
Fork 0

VcsRepository: limit type of versionTransportExceptions (#10275)

pull/10083/head
Stephan 2021-11-11 11:24:47 +00:00 committed by GitHub
parent 3013674c92
commit 012556daee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -66,7 +66,7 @@ class VcsRepository extends ArrayRepository implements ConfigurableRepositoryInt
private $versionCache;
/** @var string[] */
private $emptyReferences = array();
/** @var array<'tags'|'branches', array<string, \Throwable>> */
/** @var array<'tags'|'branches', array<string, TransportException>> */
private $versionTransportExceptions = array();
/**
@ -180,7 +180,7 @@ class VcsRepository extends ArrayRepository implements ConfigurableRepositoryInt
}
/**
* @return array<'tags'|'branches', array<string, \Throwable>>
* @return array<'tags'|'branches', array<string, TransportException>>
*/
public function getVersionTransportExceptions()
{