1
0
Fork 0

Remove type parameter from RepositoryInterface

Fixes #5458

Remove the `$type` parameter from `RepositoryInterface` to alleviate the BC break for plugins.
pull/5463/head
Pierre du Plessis 2016-06-23 12:31:39 +02:00 committed by GitHub
parent 894b53c115
commit f29b3e86ce
1 changed files with 1 additions and 2 deletions

View File

@ -67,9 +67,8 @@ interface RepositoryInterface extends \Countable
* *
* @param string $query search query * @param string $query search query
* @param int $mode a set of SEARCH_* constants to search on, implementations should do a best effort only * @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' => '...') * @return \array[] an array of array('name' => '...', 'description' => '...')
*/ */
public function search($query, $mode = 0, $type = null); public function search($query, $mode = 0);
} }