Skip to content

Commit 106a73b

Browse files
varloc2000weaverryan
authored andcommitted
Little typo in assert annotations
Missing comma in annotation provokes an exception "[Syntax Error] Expected Doctrine\Common\Annotations\DocLexer::T_CLOSE_CURLY_BRACES..."
1 parent 16e5577 commit 106a73b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

reference/constraints/All.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ entry in that array:
4444
{
4545
/**
4646
* @Assert\All({
47-
* @Assert\NotBlank
48-
* @Assert\Length(min = "5"),
47+
* @Assert\NotBlank,
48+
* @Assert\Length(min = "5")
4949
* })
5050
*/
5151
protected $favoriteColors = array();

0 commit comments

Comments
 (0)