updated to Symfony 4.2 (#710)
This commit is contained in:
@@ -20,12 +20,9 @@ use Symfony\Component\OptionsResolver\OptionsResolver;
|
||||
*/
|
||||
class DocumentationLinkExtension extends AbstractTypeExtension
|
||||
{
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getExtendedType()
|
||||
public static function getExtendedTypes(): iterable
|
||||
{
|
||||
return FormType::class;
|
||||
return [FormType::class];
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -34,12 +34,9 @@ class EnhancedChoiceTypeExtension extends AbstractTypeExtension
|
||||
$this->type = $type;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getExtendedType()
|
||||
public static function getExtendedTypes(): iterable
|
||||
{
|
||||
return EntityType::class;
|
||||
return [EntityType::class];
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -34,12 +34,9 @@ class SelectWithApiDataExtension extends AbstractTypeExtension
|
||||
$this->router = $router;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getExtendedType()
|
||||
public static function getExtendedTypes(): iterable
|
||||
{
|
||||
return EntityType::class;
|
||||
return [EntityType::class];
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user