Fix whatProvides function declaration
parent
3dd6dbe14a
commit
048781c268
|
@ -496,10 +496,9 @@ class ComposerRepository extends ArrayRepository implements ConfigurableReposito
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param string $name package name
|
* @param string $name package name
|
||||||
* @param callable $isPackageAcceptableCallable
|
|
||||||
* @return array|mixed
|
* @return array|mixed
|
||||||
*/
|
*/
|
||||||
private function whatProvides($name, array $acceptableStabilities = null, array $stabilityFlags = null)
|
private function whatProvides($name, array $acceptableStabilities = array(), array $stabilityFlags = array())
|
||||||
{
|
{
|
||||||
if (!$this->hasPartialPackages() || !isset($this->partialPackagesByName[$name])) {
|
if (!$this->hasPartialPackages() || !isset($this->partialPackagesByName[$name])) {
|
||||||
// skip platform packages, root package and composer-plugin-api
|
// skip platform packages, root package and composer-plugin-api
|
||||||
|
|
Loading…
Reference in New Issue