Skip to content

Commit

Permalink
minor #5703 comment old logic (OskarStark)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
xabbuh committed Sep 23, 2015
2 parents 26d7e6d + 4e1932c commit 535a18e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions reference/constraints/Callback.rst
Original file line number Diff line number Diff line change
Expand Up @@ -150,10 +150,12 @@ have access to the object instance, they receive the object as the first argumen
;

// If you're using the old 2.4 validation API
/*
$context->addViolationAt(
'firstName',
'This name sounds totally fake!'
);
*/
}
}

Expand Down

0 comments on commit 535a18e

Please sign in to comment.