Skip to content

Commit 9efbbca

Browse files
committed
ignoring the lines for the undefined method of ClientEndpointsTrait inside the interface
1 parent 979e746 commit 9efbbca

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/Helper/Iterators/SearchResponseIterator.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ public function setScrollTimeout(string $timeToLive): SearchResponseIterator
102102
private function clearScroll(): void
103103
{
104104
if (!empty($this->scrollId)) {
105+
/* @phpstan-ignore-next-line */
105106
$this->client->clearScroll(
106107
[
107108
'body' => [
@@ -128,6 +129,7 @@ public function rewind(): void
128129
{
129130
$this->clearScroll();
130131
$this->currentKey = 0;
132+
/* @phpstan-ignore-next-line */
131133
$this->currentScrolledResponse = $this->client->search($this->params)->asArray();
132134
$this->scrollId = $this->currentScrolledResponse['_scroll_id'];
133135
}
@@ -142,6 +144,7 @@ public function rewind(): void
142144
*/
143145
public function next(): void
144146
{
147+
/* @phpstan-ignore-next-line */
145148
$this->currentScrolledResponse = $this->client->scroll(
146149
[
147150
'body' => [

0 commit comments

Comments
 (0)