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 2cd45a5 commit bb51ed0Copy full SHA for bb51ed0
src/Symfony/Component/Form/Extension/Validator/Constraints/Form.php
@@ -18,14 +18,14 @@
18
*/
19
class Form extends Constraint
20
{
21
- const NOT_SYNCHRONIZED_ERROR = '1dafa156-89e1-4736-b832-419c2e501fca';
22
- const NO_SUCH_FIELD_ERROR = '6e5212ed-a197-4339-99aa-5654798a4854';
+ const NOT_SYNCHRONIZED_ERROR = 1;
+ const NO_SUCH_FIELD_ERROR = 2;
23
24
/**
25
* @deprecated since version 2.6, to be removed in 3.0.
26
* Use {@self NOT_SYNCHRONIZED_ERROR} instead.
27
28
- const ERR_INVALID = self::NOT_SYNCHRONIZED_ERROR;
+ const ERR_INVALID = 1;
29
30
protected static $errorNames = array(
31
self::NOT_SYNCHRONIZED_ERROR => 'NOT_SYNCHRONIZED_ERROR',
0 commit comments