@@ -876,15 +876,15 @@ public function updateEnumAttribute(string $databaseId, string $collectionId, st
876876 * @param string $collectionId
877877 * @param string $key
878878 * @param bool $required
879- * @param int $min
880- * @param int $max
881- * @param int $xdefault
879+ * @param float $min
880+ * @param float $max
881+ * @param float $xdefault
882882 * @param bool $xarray
883883 * @throws AppwriteException
884884 * @return array
885885
886886 */
887- public function createFloatAttribute (string $ databaseId , string $ collectionId , string $ key , bool $ required , int $ min = null , int $ max = null , int $ xdefault = null , bool $ xarray = null ): array
887+ public function createFloatAttribute (string $ databaseId , string $ collectionId , string $ key , bool $ required , float $ min = null , float $ max = null , float $ xdefault = null , bool $ xarray = null ): array
888888 {
889889 $ apiPath = str_replace (['{databaseId} ' , '{collectionId} ' ], [$ databaseId , $ collectionId ], '/databases/{databaseId}/collections/{collectionId}/attributes/float ' );
890890
@@ -940,14 +940,14 @@ public function createFloatAttribute(string $databaseId, string $collectionId, s
940940 * @param string $collectionId
941941 * @param string $key
942942 * @param bool $required
943- * @param int $min
944- * @param int $max
945- * @param int $xdefault
943+ * @param float $min
944+ * @param float $max
945+ * @param float $xdefault
946946 * @throws AppwriteException
947947 * @return array
948948
949949 */
950- public function updateFloatAttribute (string $ databaseId , string $ collectionId , string $ key , bool $ required , int $ min , int $ max , int $ xdefault ): array
950+ public function updateFloatAttribute (string $ databaseId , string $ collectionId , string $ key , bool $ required , float $ min , float $ max , float $ xdefault ): array
951951 {
952952 $ apiPath = str_replace (['{databaseId} ' , '{collectionId} ' , '{key} ' ], [$ databaseId , $ collectionId , $ key ], '/databases/{databaseId}/collections/{collectionId}/attributes/float/{key} ' );
953953
0 commit comments