Merge pull request #8987 from GrahamCampbell/patch-2
Marked getRootAliasesPerPackage as staticpull/8995/head
commit
80d1b1a34c
|
@ -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…
Reference in New Issue