Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitbb51ed0

Browse files
committed
Revert "minor#20011 Use UUID for error codes for Form validator. (Koc)"
This reverts commit2cd45a5, reversingchanges made tod842307.
1 parent2cd45a5 commitbb51ed0

File tree

1 file changed

+3
-3
lines changed
  • src/Symfony/Component/Form/Extension/Validator/Constraints

1 file changed

+3
-3
lines changed

‎src/Symfony/Component/Form/Extension/Validator/Constraints/Form.php‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,14 @@
1818
*/
1919
class Formextends Constraint
2020
{
21-
constNOT_SYNCHRONIZED_ERROR ='1dafa156-89e1-4736-b832-419c2e501fca';
22-
constNO_SUCH_FIELD_ERROR ='6e5212ed-a197-4339-99aa-5654798a4854';
21+
constNOT_SYNCHRONIZED_ERROR =1;
22+
constNO_SUCH_FIELD_ERROR =2;
2323

2424
/**
2525
* @deprecated since version 2.6, to be removed in 3.0.
2626
* Use {@self NOT_SYNCHRONIZED_ERROR} instead.
2727
*/
28-
constERR_INVALID =self::NOT_SYNCHRONIZED_ERROR;
28+
constERR_INVALID =1;
2929

3030
protectedstatic$errorNames =array(
3131
self::NOT_SYNCHRONIZED_ERROR =>'NOT_SYNCHRONIZED_ERROR',

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp