File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -102,6 +102,7 @@ public function setScrollTimeout(string $timeToLive): SearchResponseIterator
102
102
private function clearScroll (): void
103
103
{
104
104
if (!empty ($ this ->scrollId )) {
105
+ /* @phpstan-ignore-next-line */
105
106
$ this ->client ->clearScroll (
106
107
[
107
108
'body ' => [
@@ -128,6 +129,7 @@ public function rewind(): void
128
129
{
129
130
$ this ->clearScroll ();
130
131
$ this ->currentKey = 0 ;
132
+ /* @phpstan-ignore-next-line */
131
133
$ this ->currentScrolledResponse = $ this ->client ->search ($ this ->params )->asArray ();
132
134
$ this ->scrollId = $ this ->currentScrolledResponse ['_scroll_id ' ];
133
135
}
@@ -142,6 +144,7 @@ public function rewind(): void
142
144
*/
143
145
public function next (): void
144
146
{
147
+ /* @phpstan-ignore-next-line */
145
148
$ this ->currentScrolledResponse = $ this ->client ->scroll (
146
149
[
147
150
'body ' => [
You can’t perform that action at this time.
0 commit comments