Skip to content

Commit

Permalink
removed typehint
Browse files Browse the repository at this point in the history
  • Loading branch information
webdevsHub committed Dec 22, 2014
1 parent 3ec027b commit 40eb3e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Elastica/Query.php
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ public function setSuggest(Suggest $suggest)
* @param \Elastica\Rescore\AbstractRescore $rescore suggestion object
* @return \Elastica\Query Current object
*/
public function setRescore(AbstractRescore $rescore)
public function setRescore($rescore)
{
return $this->setParam('rescore', $rescore->toArray());
}
Expand Down

0 comments on commit 40eb3e5

Please sign in to comment.