diff --git a/src/metadata-service/src/Statement/MetadataStatement.php b/src/metadata-service/src/Statement/MetadataStatement.php index 69685bc66..d14f1e41f 100644 --- a/src/metadata-service/src/Statement/MetadataStatement.php +++ b/src/metadata-service/src/Statement/MetadataStatement.php @@ -361,7 +361,7 @@ public function getDescription(): string * @deprecated since 4.7.0. Please use the property directly. * @infection-ignore-all */ - public function getAlternativeDescriptions(): AlternativeDescriptions + public function getAlternativeDescriptions(): null|AlternativeDescriptions { return $this->alternativeDescriptions; } diff --git a/tests/symfony/config/config.yml b/tests/symfony/config/config.yml index ed9018736..e473f7d2d 100644 --- a/tests/symfony/config/config.yml +++ b/tests/symfony/config/config.yml @@ -111,6 +111,8 @@ doctrine: auto_generate_proxy_classes: true naming_strategy: doctrine.orm.naming_strategy.underscore_number_aware auto_mapping: true + controller_resolver: + auto_mapping: false mappings: App: is_bundle: false