Skip to content

Commit b3b090f

Browse files
committed
Add type annotation for relationship helper
1 parent af610c0 commit b3b090f

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/Database/Database.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3547,6 +3547,9 @@ private function getOneWayRelationshipInternalKey(string $collectionId, string $
35473547
return 'rel_' . \md5($collectionId . ':' . $id);
35483548
}
35493549

3550+
/**
3551+
* @param array<string, mixed>|Document $relationship
3552+
*/
35503553
private function getRelationshipTwoWayKey(array|Document $relationship): string
35513554
{
35523555
$options = \is_array($relationship)

0 commit comments

Comments
 (0)