mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
Fix loading extension: use the new way
This commit is contained in:
parent
378e417d5c
commit
458a59fe1b
@ -18,7 +18,7 @@ use Symfony\Component\Form\Extension\Core\Type\NumberType;
|
|||||||
*/
|
*/
|
||||||
class PostTextNumberExtension extends PostTextExtension
|
class PostTextNumberExtension extends PostTextExtension
|
||||||
{
|
{
|
||||||
public function getExtendedTypes(): iterable
|
public static function getExtendedTypes(): iterable
|
||||||
{
|
{
|
||||||
return [NumberType::class];
|
return [NumberType::class];
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user