@@ -210,9 +210,9 @@ public function updateCollection(string $collectionId, string $name, string $per
210
210
*
211
211
* @param string $collectionId
212
212
* @throws AppwriteException
213
- * @return array
213
+ * @return string
214
214
*/
215
- public function deleteCollection (string $ collectionId ): array
215
+ public function deleteCollection (string $ collectionId ): string
216
216
{
217
217
if (!isset ($ collectionId )) {
218
218
throw new AppwriteException ('Missing required parameter: "collectionId" ' );
@@ -732,9 +732,9 @@ public function getAttribute(string $collectionId, string $key): array
732
732
* @param string $collectionId
733
733
* @param string $key
734
734
* @throws AppwriteException
735
- * @return array
735
+ * @return string
736
736
*/
737
- public function deleteAttribute (string $ collectionId , string $ key ): array
737
+ public function deleteAttribute (string $ collectionId , string $ key ): string
738
738
{
739
739
if (!isset ($ collectionId )) {
740
740
throw new AppwriteException ('Missing required parameter: "collectionId" ' );
@@ -954,9 +954,9 @@ public function updateDocument(string $collectionId, string $documentId, array $
954
954
* @param string $collectionId
955
955
* @param string $documentId
956
956
* @throws AppwriteException
957
- * @return array
957
+ * @return string
958
958
*/
959
- public function deleteDocument (string $ collectionId , string $ documentId ): array
959
+ public function deleteDocument (string $ collectionId , string $ documentId ): string
960
960
{
961
961
if (!isset ($ collectionId )) {
962
962
throw new AppwriteException ('Missing required parameter: "collectionId" ' );
@@ -1080,9 +1080,9 @@ public function getIndex(string $collectionId, string $key): array
1080
1080
* @param string $collectionId
1081
1081
* @param string $key
1082
1082
* @throws AppwriteException
1083
- * @return array
1083
+ * @return string
1084
1084
*/
1085
- public function deleteIndex (string $ collectionId , string $ key ): array
1085
+ public function deleteIndex (string $ collectionId , string $ key ): string
1086
1086
{
1087
1087
if (!isset ($ collectionId )) {
1088
1088
throw new AppwriteException ('Missing required parameter: "collectionId" ' );
0 commit comments