Skip to content

Commit c8e418b

Browse files
authored
#100614 (#11)
Co-authored-by: Ms_Natali <golubkova@greensight.ru>
1 parent e42c9b8 commit c8e418b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Concerns/InteractsWithIndex.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,12 +55,12 @@ public function bulk(array $body): array
5555
return $this->resolveClient()->bulk($this->indexName(), $body);
5656
}
5757

58-
public function get($id): array
58+
public function get(int|string $id): array
5959
{
6060
return $this->resolveClient()->get($this->indexName(), $id);
6161
}
6262

63-
public function documentDelete(int $id): array
63+
public function documentDelete(int|string $id): array
6464
{
6565
return $this->resolveClient()->documentDelete($this->indexName(), $id);
6666
}

0 commit comments

Comments
 (0)