From 548360db3f8bb8cc853bdd6a84db81bb2590fe83 Mon Sep 17 00:00:00 2001 From: Priyadi Iman Nurcahyo <1102197+priyadi@users.noreply.github.com> Date: Mon, 19 Feb 2024 23:02:51 +0700 Subject: [PATCH] fix: Typo in `RemoveOptionalDefinitionPass` --- CHANGELOG.md | 1 + .../CompilerPass/RemoveOptionalDefinitionPass.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 692b07c1..0f660a17 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ ## 1.1.0 * feat: `PresetTransformer`. +* fix: Typo in `RemoveOptionalDefinitionPass` ## 1.0.0 diff --git a/src/DependencyInjection/CompilerPass/RemoveOptionalDefinitionPass.php b/src/DependencyInjection/CompilerPass/RemoveOptionalDefinitionPass.php index f8d78220..8c7e57ac 100644 --- a/src/DependencyInjection/CompilerPass/RemoveOptionalDefinitionPass.php +++ b/src/DependencyInjection/CompilerPass/RemoveOptionalDefinitionPass.php @@ -31,7 +31,7 @@ public function process(ContainerBuilder $container): void if (!$container->hasDefinition('doctrine')) { $container->removeDefinition('rekalogika.mapper.eager_properties_resolver.doctrine'); - $container->removeDefinition('rekalogika.mapper.proxy_generator.doctrine'); + $container->removeDefinition('rekalogika.mapper.proxy.generator.doctrine'); } } }