Skip to content

Commit eb7adf9

Browse files
committed
Add hints
1 parent dd2ca15 commit eb7adf9

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

src/Database/Adapter.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -733,6 +733,11 @@ abstract public function createOrUpdateDocuments(
733733
array $changes
734734
): array;
735735

736+
/**
737+
* @param string $collection
738+
* @param array<Document> $documents
739+
* @return array<Document>
740+
*/
736741
abstract public function getSequences(string $collection, array $documents): array;
737742

738743
/**

src/Database/Adapter/SQL.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -710,11 +710,11 @@ public function deleteDocuments(string $collection, array $sequences, array $per
710710
}
711711

712712
/**
713-
* Get internal IDs for the given documents
713+
* Assign internal IDs for the given documents
714714
*
715715
* @param string $collection
716716
* @param array<Document> $documents
717-
* @return array<string>
717+
* @return array<Document>
718718
* @throws DatabaseException
719719
*/
720720
public function getSequences(string $collection, array $documents): array

0 commit comments

Comments
 (0)