diff --git a/src/Database/Database.php b/src/Database/Database.php index 97cad3d2a..294085b47 100644 --- a/src/Database/Database.php +++ b/src/Database/Database.php @@ -8582,7 +8582,7 @@ public function getSchemaAttributes(string $collection): array * @param string $collectionId * @param string|null $documentId * @param array $selects - * @return array{0: ?string, 1: ?string, 2: ?string} + * @return array{0: string, 1: string, 2: string} */ public function getCacheKeys(string $collectionId, ?string $documentId = null, array $selects = []): array { @@ -8615,8 +8615,8 @@ public function getCacheKeys(string $collectionId, ?string $documentId = null, a return [ $collectionKey, - $documentKey ?? null, - $documentHashKey ?? null + $documentKey ?? '', + $documentHashKey ?? '' ]; }