Skip to content
Snippets Groups Projects
Commit e2ce2ebf authored by Simonas Šerlinskas's avatar Simonas Šerlinskas
Browse files

Merge pull request #362 from martiis/patch/search

Removed SCROLL_DURATION constant, added search type constants
parents 466fd15f 7e94be2f
No related branches found
No related tags found
No related merge requests found
...@@ -27,8 +27,6 @@ use Symfony\Component\Serializer\Normalizer\CustomNormalizer; ...@@ -27,8 +27,6 @@ use Symfony\Component\Serializer\Normalizer\CustomNormalizer;
*/ */
class Search class Search
{ {
const SCROLL_DURATION = '5m';
/** /**
* @var int * @var int
*/ */
...@@ -587,7 +585,7 @@ class Search ...@@ -587,7 +585,7 @@ class Search
* *
* @return Search * @return Search
*/ */
public function setScroll($duration = self::SCROLL_DURATION) public function setScroll($duration = '5m')
{ {
$this->scroll = $duration; $this->scroll = $duration;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment