diff --git a/Classes/Domain/Search/SearchService.php b/Classes/Domain/Search/SearchService.php index aaed496..bb8b138 100644 --- a/Classes/Domain/Search/SearchService.php +++ b/Classes/Domain/Search/SearchService.php @@ -82,8 +82,9 @@ class SearchService */ protected function addSize(SearchRequestInterface $searchRequest) { - $size = $this->configuration->getIfExists('searching.size') ?: 10; - $searchRequest->setSize($size); + $searchRequest->setSize( + $this->configuration->getIfExists('searching.size') ?: 10 + ); } /**