From 49aeb075a4bd9c16bd045b8318366303183d7e6a Mon Sep 17 00:00:00 2001 From: Tchama Date: Thu, 20 Dec 2018 11:25:46 +0100 Subject: [PATCH] fix fatal errors --- Search/EventSearch.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Search/EventSearch.php b/Search/EventSearch.php index ae900b4c3..4fc5fc19a 100644 --- a/Search/EventSearch.php +++ b/Search/EventSearch.php @@ -80,7 +80,7 @@ class EventSearch extends AbstractSearch $this->paginationFactory = $paginatorFactory; } - public function supports($domain) + public function supports($domain, $format) { return 'event' === $domain or 'events' === $domain; } @@ -96,7 +96,7 @@ class EventSearch extends AbstractSearch } public function renderResult(array $terms, $start = 0, $limit = 50, - array $options = array()) + array $options = array(), $format = 'html') { $total = $this->count($terms); $paginator = $this->paginationFactory->create($total);