mirror of
https://github.com/retailcrm/NelmioApiDocBundle.git
synced 2025-02-02 15:51:48 +03:00
Fixed bug with wrong form parsing when several custom inner types exist
This commit is contained in:
parent
5d9c47bbad
commit
0ed53788d2
@ -263,6 +263,11 @@ class FormTypeParser implements ParserInterface
|
|||||||
*/
|
*/
|
||||||
$addDefault = false;
|
$addDefault = false;
|
||||||
try {
|
try {
|
||||||
|
|
||||||
|
if (isset($subForm)) {
|
||||||
|
unset($subForm);
|
||||||
|
}
|
||||||
|
|
||||||
if (LegacyFormHelper::hasBCBreaks()) {
|
if (LegacyFormHelper::hasBCBreaks()) {
|
||||||
try {
|
try {
|
||||||
$subForm = $this->formFactory->create(get_class($type), null, $options);
|
$subForm = $this->formFactory->create(get_class($type), null, $options);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user