fix: string attribute size response model
This commit is contained in:
parent
bbe8232294
commit
0095ff2d6c
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue