8000 [Form] Fix form value merging involving file upload, collection & checkbox by priyadi · Pull Request #54324 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

[Form] Fix form value merging involving file upload, collection & checkbox #54324

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

Open
wants to merge 13 commits into
base: 5.4
Choose a base branch
from
Prev Previous commit
Next Next commit
revert typehint removal
  • Loading branch information
priyadi committed Mar 24, 2024
commit 21fbb71daf2a59fb7980606e9e7f4636ceb210db
2 changes: 2 additions & 0 deletions src/Symfony/Component/Form/Util/FormUtil.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ private function __construct()
* a form and needs to be consistent. PHP keyword `empty` cannot
* be used as it also considers 0 and "0" to be empty.
*
* @param mixed $data
*
* @return bool
*/
public static function isEmpty($data)
Expand Down
0