Merge pull request #5463 from pierredup/patch-2

Remove type parameter from RepositoryInterface
main
Jordi Boggiano 8 years ago committed by GitHub
commit cca4faaadc

@ -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);
}

Loading…
Cancel
Save