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.
2 parents 5ca9456 + 22a1082 commit 692659eCopy full SHA for 692659e
cookbook/validation/severity.rst
@@ -38,17 +38,17 @@ Use the ``payload`` option to configure the error level for each constraint:
38
class User
39
{
40
/**
41
- * @Assert\NotBlank(payload = {severity = "error"})
+ * @Assert\NotBlank(payload = {"severity" = "error"})
42
*/
43
protected $username;
44
45
46
47
48
protected $password;
49
50
51
- * @Assert\Iban(payload = {severity = "warning"})
+ * @Assert\Iban(payload = {"severity" = "warning"})
52
53
protected $bankAccountNumber;
54
}
0 commit comments