Fix newsletter body validator
[MAILPOET-2900]
This commit is contained in:
@ -30,7 +30,13 @@ class SendingQueueEntity {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @ORM\Column(type="json_or_serialized")
|
* @ORM\Column(type="json_or_serialized")
|
||||||
* @Assert\NotBlank()
|
* @Assert\Type("array")
|
||||||
|
* @Assert\Collection(
|
||||||
|
* fields = {
|
||||||
|
* "html" = @Assert\NotBlank(),
|
||||||
|
* "text" = @Assert\NotBlank(),
|
||||||
|
* }
|
||||||
|
* )
|
||||||
* @var array|null
|
* @var array|null
|
||||||
*/
|
*/
|
||||||
private $newsletterRenderedBody;
|
private $newsletterRenderedBody;
|
||||||
|
Reference in New Issue
Block a user