1
0
Fork 0

Marked getRootAliasesPerPackage as static

pull/8987/head
Graham Campbell 2020-06-16 13:48:59 +01:00 committed by GitHub
parent 0d369c87bc
commit 643852a2b0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -92,7 +92,7 @@ class RepositorySet
*/ */
public function __construct($minimumStability = 'stable', array $stabilityFlags = array(), array $rootAliases = array(), array $rootReferences = array(), array $rootRequires = array()) public function __construct($minimumStability = 'stable', array $stabilityFlags = array(), array $rootAliases = array(), array $rootReferences = array(), array $rootRequires = array())
{ {
$this->rootAliases = $this->getRootAliasesPerPackage($rootAliases); $this->rootAliases = self::getRootAliasesPerPackage($rootAliases);
$this->rootReferences = $rootReferences; $this->rootReferences = $rootReferences;
$this->acceptableStabilities = array(); $this->acceptableStabilities = array();
@ -286,7 +286,7 @@ class RepositorySet
return $this->createPool($request, new NullIO()); return $this->createPool($request, new NullIO());
} }
private function getRootAliasesPerPackage(array $aliases) private static function getRootAliasesPerPackage(array $aliases)
{ {
$normalizedAliases = array(); $normalizedAliases = array();