Skip to content

Commit 1bb20de

Browse files
committed
Merge branch 'main' of github.com:utopia-php/database into count-with-find
2 parents b10ed40 + 14250d3 commit 1bb20de

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/Database/Database.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8592,7 +8592,7 @@ public function getSchemaAttributes(string $collection): array
85928592
* @param string $collectionId
85938593
* @param string|null $documentId
85948594
* @param array<string> $selects
8595-
* @return array{0: ?string, 1: ?string, 2: ?string}
8595+
* @return array{0: string, 1: string, 2: string}
85968596
*/
85978597
public function getCacheKeys(string $collectionId, ?string $documentId = null, array $selects = []): array
85988598
{
@@ -8625,8 +8625,8 @@ public function getCacheKeys(string $collectionId, ?string $documentId = null, a
86258625

86268626
return [
86278627
$collectionKey,
8628-
$documentKey ?? null,
8629-
$documentHashKey ?? null
8628+
$documentKey ?? '',
8629+
$documentHashKey ?? ''
86308630
];
86318631
}
86328632

0 commit comments

Comments
 (0)