1
0
Fork 0
mirror of synced 2024-06-29 19:50:26 +12:00

Remove $loose param from constructors

This commit is contained in:
Jake Barnby 2022-01-27 19:44:53 +13:00
parent 30a14f01e8
commit 204234941c

View file

@ -1014,9 +1014,9 @@ App::post('/v1/database/collections/:collectionId/attributes/float')
->param('collectionId', '', new UID(), 'Collection ID. You can create a new collection using the Database service [server integration](https://appwrite.io/docs/server/database#createCollection).')
->param('key', '', new Key(), 'Attribute Key.')
->param('required', null, new Boolean(), 'Is attribute required?')
->param('min', null, new FloatValidator(true), 'Minimum value to enforce on new documents', true)
->param('max', null, new FloatValidator(true), 'Maximum value to enforce on new documents', true)
->param('default', null, new FloatValidator(true), 'Default value for attribute when not provided. Cannot be set when attribute is required.', true)
->param('min', null, new FloatValidator(), 'Minimum value to enforce on new documents', true)
->param('max', null, new FloatValidator(), 'Maximum value to enforce on new documents', true)
->param('default', null, new FloatValidator(), 'Default value for attribute when not provided. Cannot be set when attribute is required.', true)
->param('array', false, new Boolean(), 'Is attribute an array?', true)
->inject('response')
->inject('dbForProject')