We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8d903c9 commit e1090d4Copy full SHA for e1090d4
src/Entity/Attachments/Attachment.php
@@ -169,7 +169,7 @@ abstract class Attachment extends AbstractNamedDBElement
169
#[ORM\Column(type: Types::STRING, length: 2048, nullable: true)]
170
#[Groups(['attachment:read'])]
171
#[ApiProperty(example: 'http://example.com/image.jpg')]
172
- #[Assert\Length(2048)]
+ #[Assert\Length(max: 2048)]
173
protected ?string $external_path = null;
174
175
/**
0 commit comments