1
0
Fork 0

Rename var

pull/915/merge
Jordi Boggiano 2012-11-01 16:19:07 +01:00
parent 1c39ad779b
commit 62bf84fc4f
1 changed files with 3 additions and 3 deletions

View File

@ -40,7 +40,7 @@ class Pool
const MATCH_REPLACE = 3;
protected $repositories = array();
protected $composerRepos = array();
protected $providerRepos = array();
protected $packages = array();
protected $packageByName = array();
protected $acceptableStabilities;
@ -82,7 +82,7 @@ class Pool
$exempt = $repo instanceof PlatformRepository || $repo instanceof InstalledRepositoryInterface;
if ($repo instanceof ComposerRepository && $repo->hasProviders()) {
$this->composerRepos[] = $repo;
$this->providerRepos[] = $repo;
$repo->setRootAliases($rootAliases);
$repo->resetPackageIds();
} elseif ($repo instanceof StreamableRepositoryInterface) {
@ -233,7 +233,7 @@ class Pool
{
$candidates = array();
foreach ($this->composerRepos as $repo) {
foreach ($this->providerRepos as $repo) {
foreach ($repo->whatProvides($this, $name) as $candidate) {
$candidates[] = $candidate;
if ($candidate->getId() < 1) {