Marked getRootAliasesPerPackage as static

main
Graham Campbell 4 years ago committed by GitHub
parent 0d369c87bc
commit 643852a2b0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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();

Loading…
Cancel
Save