mirror of
https://github.com/retailcrm/NelmioApiDocBundle.git
synced 2025-02-09 02:59:27 +03:00
commit
0b17291084
@ -12,6 +12,7 @@
|
||||
namespace Nelmio\ApiDocBundle\Parser;
|
||||
|
||||
use Symfony\Component\Form\Exception\UnexpectedTypeException;
|
||||
use Symfony\Component\Form\Exception\InvalidArgumentException;
|
||||
use Symfony\Component\OptionsResolver\Exception\MissingOptionsException;
|
||||
use Symfony\Component\Form\FormFactoryInterface;
|
||||
use Symfony\Component\Form\Exception\FormException;
|
||||
@ -172,6 +173,8 @@ class FormTypeParser implements ParserInterface
|
||||
return $this->formFactory->create($item);
|
||||
} catch (UnexpectedTypeException $e) {
|
||||
// nothing
|
||||
} catch (InvalidArgumentException $e) {
|
||||
// nothing
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user