Remove $loose param from constructors
This commit is contained in:
parent
30a14f01e8
commit
204234941c
1 changed files with 3 additions and 3 deletions
|
@ -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')
|
||||
|
|
Loading…
Reference in a new issue