diff --git a/src/Stubs/5/Bundle/FrameworkBundle/Controller/AbstractController.stubphp b/src/Stubs/5/Bundle/FrameworkBundle/Controller/AbstractController.stubphp index 9dd5b346..8bf41530 100644 --- a/src/Stubs/5/Bundle/FrameworkBundle/Controller/AbstractController.stubphp +++ b/src/Stubs/5/Bundle/FrameworkBundle/Controller/AbstractController.stubphp @@ -7,7 +7,7 @@ use Psr\Container\ContainerInterface; use Symfony\Component\Form\FormInterface; use Symfony\Component\Form\FormTypeInterface; -class AbstractController implements ServiceSubscriberInterface +abstract class AbstractController implements ServiceSubscriberInterface { /** * @var ContainerInterface @@ -23,5 +23,5 @@ class AbstractController implements ServiceSubscriberInterface * * @psalm-return FormInterface */ - public function createForm(string $type, $data = null, array $options = []): FormInterface {} + protected function createForm(string $type, $data = null, array $options = []): FormInterface {} } diff --git a/src/Stubs/6/Bundle/FrameworkBundle/Controller/AbstractController.stubphp b/src/Stubs/6/Bundle/FrameworkBundle/Controller/AbstractController.stubphp index bdf1c0bd..8bf41530 100644 --- a/src/Stubs/6/Bundle/FrameworkBundle/Controller/AbstractController.stubphp +++ b/src/Stubs/6/Bundle/FrameworkBundle/Controller/AbstractController.stubphp @@ -7,7 +7,7 @@ use Psr\Container\ContainerInterface; use Symfony\Component\Form\FormInterface; use Symfony\Component\Form\FormTypeInterface; -class AbstractController implements ServiceSubscriberInterface +abstract class AbstractController implements ServiceSubscriberInterface { /** * @var ContainerInterface