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

Appearance settings

Fix incorrect callback validation example #7046

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 14, 2016
Merged

Fix incorrect callback validation example #7046

merged 1 commit into from
Oct 14, 2016

Conversation

mvar
Copy link
Contributor

@mvar mvar commented Oct 7, 2016

Current example in documentation leads into an exception:

Uncaught PHP Exception Symfony\Component\Validator\Exception\ConstraintDefinitionException: "["validate"] targeted by Callback constraint is not a valid callable"

@xabbuh
Copy link
Member

xabbuh commented Oct 7, 2016

👍

Status: Reviewed

@xabbuh
Copy link
Member

xabbuh commented Oct 14, 2016

Thank you @mvar.

@xabbuh xabbuh merged commit 9674500 into symfony:2.7 Oct 14, 2016
xabbuh added a commit that referenced this pull request Oct 14, 2016
This PR was merged into the 2.7 branch.

Discussion
----------

Fix incorrect callback validation example

Current example in documentation leads into an exception:

> Uncaught PHP Exception Symfony\Component\Validator\Exception\ConstraintDefinitionException: "["validate"] targeted by Callback constraint is not a valid callable"

Commits
-------

9674500 Fix incorrect callback validation example
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.