Skip to content

Commit 535a18e

Browse files
committed
minor #5703 comment old logic (OskarStark)
This PR was merged into the 2.7 branch. Discussion ---------- comment old logic because it's already commented in line 123 Commits ------- 4e1932c comment old logic
2 parents 26d7e6d + 4e1932c commit 535a18e

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)