Skip to content
Snippets Groups Projects
Commit 7e94be2f authored by Martynas Sudintas's avatar Martynas Sudintas
Browse files

Removed SCROLL_DURATION constant

parent 77557e74
No related branches found
No related tags found
No related merge requests found
......@@ -27,8 +27,6 @@ use Symfony\Component\Serializer\Normalizer\CustomNormalizer;
*/
class Search
{
const SCROLL_DURATION = '5m';
/**
* @var int
*/
......@@ -587,7 +585,7 @@ class Search
*
* @return Search
*/
public function setScroll($duration = self::SCROLL_DURATION)
public function setScroll($duration = '5m')
{
$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