Skip to content

Commit 40eb3e5

Browse files
committed
removed typehint
1 parent 3ec027b commit 40eb3e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Elastica/Query.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,7 @@ public function setSuggest(Suggest $suggest)
397397
* @param \Elastica\Rescore\AbstractRescore $rescore suggestion object
398398
* @return \Elastica\Query Current object
399399
*/
400-
public function setRescore(AbstractRescore $rescore)
400+
public function setRescore($rescore)
401401
{
402402
return $this->setParam('rescore', $rescore->toArray());
403403
}

0 commit comments

Comments
 (0)