Skip to content

Commit 9e6f587

Browse files
committed
Add a missing phpdoc type for documentId validation
1 parent 4342d61 commit 9e6f587

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/Endpoints/Delegates/HandlesDocuments.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@
1212

1313
trait HandlesDocuments
1414
{
15+
/**
16+
* @param non-empty-string|int $documentId
17+
*/
1518
public function getDocument(string|int $documentId, ?array $fields = null): array
1619
{
1720
$query = isset($fields) ? ['fields' => implode(',', $fields)] : [];

0 commit comments

Comments
 (0)