8000 comment old logic · symfony/symfony-docs@4e1932c · GitHub
[go: up one dir, main page]

Skip to content

Commit 4e1932c

Browse files
committed
comment old logic
because it's already commented in line 123
1 parent 9eb4b11 commit 4e1932c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

reference/constraints/Callback.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,10 +150,12 @@ have access to the object instance, they receive the object as the first argumen
150150
;
151151

152152
// If you're using the old 2.4 validation API
153+
/*
153154
$context->addViolationAt(
154155
'firstName',
155156
'This name sounds totally fake!'
156157
);
158+
*/
157159
}
158160
}
159161

0 commit comments

Comments
 (0)
0