mirror of
https://github.com/Codappix/search_core.git
synced 2024-11-22 09:16:21 +01:00
TASK: Remove temp variable
This commit is contained in:
parent
1030e8d5cf
commit
e8a84a8ecc
1 changed files with 3 additions and 2 deletions
|
@ -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
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue