8000 [Form] Deprecate a callable empty_data in ChoiceType by peter-gribanov · Pull Request #25924 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

[Form] Deprecate a callable empty_data in ChoiceType #25924

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

Prev Previous commit
Next Next commit
change description of this change in UPGRADE-4.1.md
  • Loading branch information
peter-gribanov committed Jan 25, 2018
commit 3d19d312b8b76d3c86a62b1926071389d4ca36b2
2 changes: 1 addition & 1 deletion UPGRADE-4.1.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ Validator
Form
----

* Using callable strings as `empty_data` in `ChoiceType` has been deprecated in Symfony 4.1 use a `\Closure` instead.
* Using callable strings as `empty_data` in `ChoiceType` is deprecated and will be removed in Symfony 5.0, use a `\Closure` instead.

Before:

Expand Down
0