mirror of
https://github.com/retailcrm/NelmioApiDocBundle.git
synced 2025-02-09 19:19:29 +03:00
Add implementation of FormTypeExtensionInterface::getExtendedTypes (#1453)
This method is wanted by symfony >= 4.2 and will be required for symfony >= 5.0 Fixes #1448
This commit is contained in:
parent
7a5c8a2e0d
commit
1b104bbf74
@ -34,6 +34,11 @@ class DocumentationExtension extends AbstractTypeExtension
|
|||||||
|
|
||||||
public function getExtendedType()
|
public function getExtendedType()
|
||||||
{
|
{
|
||||||
return FormType::class;
|
return self::getExtendedTypes()[0];
|
||||||
|
}
|
||||||
|
|
||||||
|
public static function getExtendedTypes()
|
||||||
|
{
|
||||||
|
return [FormType::class];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user