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 709bd53 commit 5bc424bCopy full SHA for 5bc424b
README.md
@@ -28,7 +28,7 @@ class PostInput implements InputInterface
28
private string $content;
29
30
/**
31
- * @Assert\Type(type="array")
+ * @Assert\NotBlank()
32
*/
33
private array $tags = [];
34
@@ -56,7 +56,7 @@ class PostController
56
# set entity data and store
57
$post = (new Post())
58
->setTitle($input->getTitle())
59
- ->setContent($input->getTitle())
+ ->setContent($input->getContent())
60
->setTags($input->getTags())
61
->setName($input->getName())
62
;
0 commit comments