Skip to content

Commit 9ec4b3f

Browse files
committed
add hints
1 parent 678a8c1 commit 9ec4b3f

1 file changed

Lines changed: 10 additions & 4 deletions

File tree

src/Database/Database.php

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6750,9 +6750,11 @@ public function getLimitForIndexes(): int
67506750
}
67516751

67526752
/**
6753-
* @param array<Query> $queries
6754-
* @return array<Query>
6755-
* @throws Exception
6753+
* @param Document $collection
6754+
* @param array $queries
6755+
* @return array
6756+
* @throws QueryException
6757+
* @throws \Utopia\Database\Exception
67566758
*/
67576759
public static function convertQueries(Document $collection, array $queries): array
67586760
{
@@ -6771,7 +6773,11 @@ public static function convertQueries(Document $collection, array $queries): arr
67716773
}
67726774

67736775
/**
6774-
* @throws Exception
6776+
* @param Document $collection
6777+
* @param Query $query
6778+
* @return Query
6779+
* @throws QueryException
6780+
* @throws \Utopia\Database\Exception
67756781
*/
67766782
public static function convertQuery(Document $collection, Query $query): Query
67776783
{

0 commit comments

Comments
 (0)