Merge pull request #4469 from Soullivaneuh/patch-1
PackageInterface[] on RepositoryInterface php docpull/4475/head
commit
edf14dab15
|
@ -51,14 +51,14 @@ interface RepositoryInterface extends \Countable
|
|||
* @param string $name package name
|
||||
* @param string|\Composer\Semver\Constraint\ConstraintInterface $constraint package version or version constraint to match against
|
||||
*
|
||||
* @return array
|
||||
* @return PackageInterface[]
|
||||
*/
|
||||
public function findPackages($name, $constraint = null);
|
||||
|
||||
/**
|
||||
* Returns list of registered packages.
|
||||
*
|
||||
* @return array
|
||||
* @return PackageInterface[]
|
||||
*/
|
||||
public function getPackages();
|
||||
|
||||
|
|
Loading…
Reference in New Issue