BUGFIX: Keep return type

* Return boolean type.
This commit is contained in:
Daniel Siepmann 2017-06-06 15:33:06 +02:00
parent bb9e29574f
commit f5729c2763
Signed by: Daniel Siepmann
GPG key ID: 33D6629915560EF4

View file

@ -76,7 +76,7 @@ class SearchRequest implements SearchRequestInterface
*/
public function hasFilter()
{
return count($this->filter);
return count($this->filter) > 0;
}
/**