From f29b3e86cee069011423d5c409dbe611724a984d Mon Sep 17 00:00:00 2001 From: Pierre du Plessis Date: Thu, 23 Jun 2016 12:31:39 +0200 Subject: [PATCH] Remove type parameter from RepositoryInterface Fixes #5458 Remove the `$type` parameter from `RepositoryInterface` to alleviate the BC break for plugins. --- src/Composer/Repository/RepositoryInterface.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Composer/Repository/RepositoryInterface.php b/src/Composer/Repository/RepositoryInterface.php index f04b579f8..ccbdc2226 100644 --- a/src/Composer/Repository/RepositoryInterface.php +++ b/src/Composer/Repository/RepositoryInterface.php @@ -67,9 +67,8 @@ interface RepositoryInterface extends \Countable * * @param string $query search query * @param int $mode a set of SEARCH_* constants to search on, implementations should do a best effort only - * @param string $type The type of package to search for. Defaults to all types of packages * * @return \array[] an array of array('name' => '...', 'description' => '...') */ - public function search($query, $mode = 0, $type = null); + public function search($query, $mode = 0); }