1
0
Fork 0
mirror of synced 2024-07-01 04:30:59 +12:00

Merge pull request #1241 from lohanidamodar/fix-project-data-type

fix type
This commit is contained in:
Eldad A. Fux 2021-06-07 23:58:27 +03:00 committed by GitHub
commit 0039ec4300
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -90,7 +90,7 @@ class Project extends Model
'example' => '131102020', 'example' => '131102020',
]) ])
->addRule('usersAuthLimit', [ ->addRule('usersAuthLimit', [
'type' => self::TYPE_BOOLEAN, 'type' => self::TYPE_INTEGER,
'description' => 'Max users allowed. 0 is unlimited.', 'description' => 'Max users allowed. 0 is unlimited.',
'default' => 0, 'default' => 0,
'example' => 100, 'example' => 100,