mirror of
https://github.com/retailcrm/NelmioApiDocBundle.git
synced 2025-02-02 15:51:48 +03:00
fix cs
This commit is contained in:
parent
011c59b4d7
commit
df29283a7f
@ -12,9 +12,7 @@
|
|||||||
namespace Nelmio\ApiDocBundle\Parser;
|
namespace Nelmio\ApiDocBundle\Parser;
|
||||||
|
|
||||||
use Symfony\Component\OptionsResolver\Exception\MissingOptionsException;
|
use Symfony\Component\OptionsResolver\Exception\MissingOptionsException;
|
||||||
|
|
||||||
use Symfony\Component\Form\FormRegistry;
|
use Symfony\Component\Form\FormRegistry;
|
||||||
|
|
||||||
use Symfony\Component\Form\FormFactoryInterface;
|
use Symfony\Component\Form\FormFactoryInterface;
|
||||||
use Symfony\Component\Form\Exception\FormException;
|
use Symfony\Component\Form\Exception\FormException;
|
||||||
|
|
||||||
@ -55,11 +53,9 @@ class FormTypeParser implements ParserInterface
|
|||||||
if ($this->createForm($item)) {
|
if ($this->createForm($item)) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
} catch (FormException $e) {
|
||||||
catch (FormException $e) {
|
|
||||||
return false;
|
return false;
|
||||||
}
|
} catch (MissingOptionsException $e) {
|
||||||
catch (MissingOptionsException $e) {
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user