We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e42c9b8 commit c8e418bCopy full SHA for c8e418b
src/Concerns/InteractsWithIndex.php
@@ -55,12 +55,12 @@ public function bulk(array $body): array
55
return $this->resolveClient()->bulk($this->indexName(), $body);
56
}
57
58
- public function get($id): array
+ public function get(int|string $id): array
59
{
60
return $this->resolveClient()->get($this->indexName(), $id);
61
62
63
- public function documentDelete(int $id): array
+ public function documentDelete(int|string $id): array
64
65
return $this->resolveClient()->documentDelete($this->indexName(), $id);
66
0 commit comments