@@ -876,15 +876,15 @@ public function updateEnumAttribute(string $databaseId, string $collectionId, st
876
876
* @param string $collectionId
877
877
* @param string $key
878
878
* @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
882
882
* @param bool $xarray
883
883
* @throws AppwriteException
884
884
* @return array
885
885
886
886
*/
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
888
888
{
889
889
$ apiPath = str_replace (['{databaseId} ' , '{collectionId} ' ], [$ databaseId , $ collectionId ], '/databases/{databaseId}/collections/{collectionId}/attributes/float ' );
890
890
@@ -940,14 +940,14 @@ public function createFloatAttribute(string $databaseId, string $collectionId, s
940
940
* @param string $collectionId
941
941
* @param string $key
942
942
* @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
946
946
* @throws AppwriteException
947
947
* @return array
948
948
949
949
*/
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
951
951
{
952
952
$ apiPath = str_replace (['{databaseId} ' , '{collectionId} ' , '{key} ' ], [$ databaseId , $ collectionId , $ key ], '/databases/{databaseId}/collections/{collectionId}/attributes/float/{key} ' );
953
953
0 commit comments