mirror of
https://github.com/retailcrm/NelmioApiDocBundle.git
synced 2025-04-06 07:13:31 +03:00
Merge pull request #799 from debesha/master
Fixed bug with wrong form parsing when several custom inner types exist
This commit is contained in:
commit
dd6a5e32c3
1 changed files with 5 additions and 0 deletions
|
@ -263,6 +263,11 @@ class FormTypeParser implements ParserInterface
|
|||
*/
|
||||
$addDefault = false;
|
||||
try {
|
||||
|
||||
if (isset($subForm)) {
|
||||
unset($subForm);
|
||||
}
|
||||
|
||||
if (LegacyFormHelper::hasBCBreaks()) {
|
||||
try {
|
||||
$subForm = $this->formFactory->create(get_class($type), null, $options);
|
||||
|
|
Loading…
Add table
Reference in a new issue