TASK: Remove temp variable

This commit is contained in:
Daniel Siepmann 2017-07-20 13:48:27 +02:00
parent 1030e8d5cf
commit e8a84a8ecc
Signed by: Daniel Siepmann
GPG key ID: 33D6629915560EF4

View file

@ -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
);
}
/**