mirror of
https://github.com/composer/composer
synced 2025-05-10 00:53:06 +00:00
Fix method name for php5
This commit is contained in:
parent
1aec1c1fc8
commit
bf1ddaa298
9 changed files with 11 additions and 11 deletions
|
@ -244,7 +244,7 @@ EOT
|
|||
protected function installRootPackage(IOInterface $io, Config $config, $packageName, $directory = null, $packageVersion = null, $stability = 'stable', $preferSource = false, $preferDist = false, $installDevPackages = false, $repository = null, $disablePlugins = false, $noScripts = false, $keepVcs = false, $noProgress = false)
|
||||
{
|
||||
if (null === $repository) {
|
||||
$sourceRepo = new CompositeRepository(RepositoryFactory::default($io, $config));
|
||||
$sourceRepo = new CompositeRepository(RepositoryFactory::defaultRepos($io, $config));
|
||||
} else {
|
||||
$sourceRepo = RepositoryFactory::fromString($io, $config, $repository, true);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue