Skip to content

Commit 22a1082

Browse files
lbayerlxabbuh
authored andcommitted
1 parent 5ca9456 commit 22a1082

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cookbook/validation/severity.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,17 +38,17 @@ Use the ``payload`` option to configure the error level for each constraint:
3838
class User
3939
{
4040
/**
41-
* @Assert\NotBlank(payload = {severity = "error"})
41+
* @Assert\NotBlank(payload = {"severity" = "error"})
4242
*/
4343
protected $username;
4444
4545
/**
46-
* @Assert\NotBlank(payload = {severity = "error"})
46+
* @Assert\NotBlank(payload = {"severity" = "error"})
4747
*/
4848
protected $password;
4949
5050
/**
51-
* @Assert\Iban(payload = {severity = "warning"})
51+
* @Assert\Iban(payload = {"severity" = "warning"})
5252
*/
5353
protected $bankAccountNumber;
5454
}

0 commit comments

Comments
 (0)