diff --git a/Search.php b/Search.php index a7945ad77d13321977c89293c6e1d0998184eeec..0c9b7d5d3494547df79a906e95d8b15f38a3e5e0 100644 --- a/Search.php +++ b/Search.php @@ -42,7 +42,7 @@ class Search /** * @var string|null */ - private $scrollDuration; + private $scroll; /** * @var array|bool|string @@ -589,7 +589,7 @@ class Search */ public function setScroll($duration = self::SCROLL_DURATION) { - $this->scrollDuration = $duration; + $this->scroll = $duration; return $this; } @@ -601,7 +601,7 @@ class Search */ public function getScroll() { - return $this->scrollDuration; + return $this->scroll; } /**