This commit is contained in:
2022-04-22 11:41:38 +02:00
parent abc3caee00
commit f7d9551dc1
6 changed files with 53 additions and 16 deletions

View File

@@ -41,8 +41,8 @@ class Comment implements TrackCreationInterface, TrackUpdateInterface
/**
* @ORM\Column(type="text")
* @Groups({"read", "write"})
* @Assert\NotBlank()
* @Assert\NotNull()
* @Assert\NotBlank
* @Assert\NotNull
*/
private $content;