1
0
Fork 0
mirror of synced 2024-05-20 20:52:36 +12:00

fix: string attribute size response model

This commit is contained in:
Torsten Dittmann 2022-01-06 12:41:58 +01:00 committed by GitHub
parent bbe8232294
commit 0095ff2d6c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -13,7 +13,7 @@ class AttributeString extends Attribute
$this
->addRule('size', [
'type' => self::TYPE_STRING,
'type' => self::TYPE_INTEGER,
'description' => 'Attribute size.',
'default' => 0,
'example' => 128,
@ -52,4 +52,4 @@ class AttributeString extends Attribute
{
return Response::MODEL_ATTRIBUTE_STRING;
}
}
}