@@ -210,9 +210,9 @@ public function updateCollection(string $collectionId, string $name, string $per
210210 *
211211 * @param string $collectionId
212212 * @throws AppwriteException
213- * @return array
213+ * @return string
214214 */
215- public function deleteCollection (string $ collectionId ): array
215+ public function deleteCollection (string $ collectionId ): string
216216 {
217217 if (!isset ($ collectionId )) {
218218 throw new AppwriteException ('Missing required parameter: "collectionId" ' );
@@ -732,9 +732,9 @@ public function getAttribute(string $collectionId, string $key): array
732732 * @param string $collectionId
733733 * @param string $key
734734 * @throws AppwriteException
735- * @return array
735+ * @return string
736736 */
737- public function deleteAttribute (string $ collectionId , string $ key ): array
737+ public function deleteAttribute (string $ collectionId , string $ key ): string
738738 {
739739 if (!isset ($ collectionId )) {
740740 throw new AppwriteException ('Missing required parameter: "collectionId" ' );
@@ -954,9 +954,9 @@ public function updateDocument(string $collectionId, string $documentId, array $
954954 * @param string $collectionId
955955 * @param string $documentId
956956 * @throws AppwriteException
957- * @return array
957+ * @return string
958958 */
959- public function deleteDocument (string $ collectionId , string $ documentId ): array
959+ public function deleteDocument (string $ collectionId , string $ documentId ): string
960960 {
961961 if (!isset ($ collectionId )) {
962962 throw new AppwriteException ('Missing required parameter: "collectionId" ' );
@@ -1080,9 +1080,9 @@ public function getIndex(string $collectionId, string $key): array
10801080 * @param string $collectionId
10811081 * @param string $key
10821082 * @throws AppwriteException
1083- * @return array
1083+ * @return string
10841084 */
1085- public function deleteIndex (string $ collectionId , string $ key ): array
1085+ public function deleteIndex (string $ collectionId , string $ key ): string
10861086 {
10871087 if (!isset ($ collectionId )) {
10881088 throw new AppwriteException ('Missing required parameter: "collectionId" ' );
0 commit comments