@@ -45,7 +45,7 @@ public function __construct(ManagerRegistry $registry, RouterInterface $router,
4545 $ this ->config = $ config ;
4646 }
4747
48- public function buildForm (FormBuilderInterface $ builder , array $ options )
48+ public function buildForm (FormBuilderInterface $ builder , array $ options ): void
4949 {
5050 // custom object manager for this entity, override the default entity manager ?
5151 if (isset ($ options ['object_manager ' ])) {
@@ -97,7 +97,7 @@ public function buildForm(FormBuilderInterface $builder, array $options)
9797 $ builder ->addViewTransformer ($ transformer , true );
9898 }
9999
100- public function finishView (FormView $ view , FormInterface $ form , array $ options )
100+ public function finishView (FormView $ view , FormInterface $ form , array $ options ): void
101101 {
102102 parent ::finishView ($ view , $ form , $ options );
103103 // make variables available to the view
@@ -137,7 +137,7 @@ public function finishView(FormView $view, FormInterface $form, array $options)
137137 /**
138138 * @param OptionsResolver $resolver
139139 */
140- public function configureOptions (OptionsResolver $ resolver )
140+ public function configureOptions (OptionsResolver $ resolver ): void
141141 {
142142 $ resolver ->setDefaults ([
143143 'object_manager ' => null ,
0 commit comments