Skip to content

Commit

Permalink
Merge pull request #5463 from pierredup/patch-2
Browse files Browse the repository at this point in the history
Remove type parameter from RepositoryInterface
  • Loading branch information
Seldaek committed Jun 23, 2016
2 parents 894b53c + f29b3e8 commit cca4faa
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Composer/Repository/RepositoryInterface.php
Expand Up @@ -67,9 +67,8 @@ public function getPackages();
*
* @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);
}

0 comments on commit cca4faa

Please sign in to comment.