parent
812523f1ab
commit
0457ec6fb3
|
@ -108,20 +108,6 @@ class CompositeRepository implements RepositoryInterface
|
||||||
return $matches ? call_user_func_array('array_merge', $matches) : array();
|
return $matches ? call_user_func_array('array_merge', $matches) : array();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* {@inheritDoc}
|
|
||||||
*/
|
|
||||||
public function filterPackages($callback, $class = 'Composer\Package\Package')
|
|
||||||
{
|
|
||||||
foreach ($this->repositories as $repository) {
|
|
||||||
if (false === $repository->filterPackages($callback, $class)) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* {@inheritdoc}
|
* {@inheritdoc}
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue