File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -20,3 +20,9 @@ parameters:
2020 checkMissingVarTagTypehint: true
2121 checkMissingTypehints: true
2222 checkUninitializedProperties: true
23+ featureToggles:
24+ skipCheckGenericClasses:
25+ - Symfony\Component\Form\AbstractType
26+ - Symfony\Component\Form\FormInterface
27+ - Symfony\Component\Form\FormTypeExtensionInterface
28+ - Symfony\Component\Form\FormTypeInterface
Original file line number Diff line number Diff line change @@ -147,7 +147,7 @@ private function countCategories(): int
147147 {
148148 // TODO: Simplify this when dropping support for Symfony 4.
149149 // @phpstan-ignore-next-line
150- $ container = method_exists (static ::class, 'getContainer ' ) ? static ::getContainer () : static ::$ container ;
150+ $ container = method_exists (self ::class, 'getContainer ' ) ? static ::getContainer () : static ::$ container ;
151151 $ manager = $ container ->get ('doctrine.orm.entity_manager ' );
152152 \assert ($ manager instanceof EntityManagerInterface);
153153
You can’t perform that action at this time.
0 commit comments