Skip to content

Commit 35c1357

Browse files
authored
Update Points.php
1 parent 8c558d7 commit 35c1357

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/Endpoints/Collections/Points.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ public function ids(array $ids, $withPayload = false, $withVector = true, array
111111
/**
112112
* @throws InvalidArgumentException
113113
*/
114-
public function id(int $id, array $queryParams = []): Response
114+
public function id(int|string $id, array $queryParams = []): Response
115115
{
116116
return $this->client->execute(
117117
$this->createRequest(
@@ -190,4 +190,4 @@ public function recommend(RecommendRequest $recommendParams): Response
190190
)
191191
);
192192
}
193-
}
193+
}

0 commit comments

Comments
 (0)