BUGFIX: Keep necessary type hint for extbase

This commit is contained in:
Daniel Siepmann 2018-12-27 11:57:58 +01:00
parent 8531f26410
commit 6f34ca273b
Signed by: Daniel Siepmann
GPG key ID: 33D6629915560EF4

View file

@ -91,6 +91,11 @@ class SearchRequest implements SearchRequestInterface
return $this->query;
}
/**
* Type hint necessary for extbase!
*
* @param array $filter
*/
public function setFilter(array $filter)
{
$filter = ArrayUtility::removeArrayEntryByValue($filter, '');