Skip to content

Commit

Permalink
Merge pull request Smile-SA#1161 from bitExpert/fix/enhance_filter
Browse files Browse the repository at this point in the history
Extend the doc block to explain the possibility to return null to unset filter
  • Loading branch information
romainruaud authored Oct 29, 2018
2 parents 5cea1d4 + c4200e1 commit ee30e36
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@
interface FilterInterface
{
/**
* Get filter query according to current search context.
* Get filter query according to current search context. Return null to unset filter query.
*
* @param \Smile\ElasticsuiteCore\Api\Search\ContextInterface $searchContext Search Context
*
* @return \Smile\ElasticsuiteCore\Search\Request\QueryInterface
* @return \Smile\ElasticsuiteCore\Search\Request\QueryInterface|null
*/
public function getFilterQuery(\Smile\ElasticsuiteCore\Api\Search\ContextInterface $searchContext);
}

0 comments on commit ee30e36

Please sign in to comment.