Skip to content

Commit f5507dd

Browse files
Merge pull request #1 from springboardVR/fix-document-id
Fix: Update Document ID to be a string
2 parents 99b68d1 + e830105 commit f5507dd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Document.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,12 @@ class Document
3939
*
4040
* @param \Devloops\Typesence\Lib\Configuration $config
4141
* @param string $collectionName
42-
* @param int $documentId
42+
* @param string $documentId
4343
*/
4444
public function __construct(
4545
Configuration $config,
4646
string $collectionName,
47-
int $documentId
47+
string $documentId
4848
) {
4949
$this->config = $config;
5050
$this->collectionName = $collectionName;
@@ -85,4 +85,4 @@ public function delete(): array
8585
return $this->apiCall->delete($this->endpoint_path());
8686
}
8787

88-
}
88+
}

0 commit comments

Comments
 (0)