Skip to content

Commit 5a3a2c1

Browse files
Make deprecation warning about enable_lazy_ghost_objects more explicit (#1731)
1 parent ecfd2b3 commit 5a3a2c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

DependencyInjection/DoctrineExtension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -567,7 +567,7 @@ protected function ormLoad(array $config, ContainerBuilder $container)
567567
'Lazy ghost objects cannot be disabled for ORM 3.',
568568
);
569569
} elseif (PHP_VERSION_ID >= 80100) {
570-
trigger_deprecation('doctrine/doctrine-bundle', '2.11', 'Not setting "enable_lazy_ghost_objects" to true is deprecated.');
570+
trigger_deprecation('doctrine/doctrine-bundle', '2.11', 'Not setting "doctrine.orm.enable_lazy_ghost_objects" to true is deprecated.');
571571
}
572572

573573
$options = ['auto_generate_proxy_classes', 'enable_lazy_ghost_objects', 'proxy_dir', 'proxy_namespace'];

0 commit comments

Comments
 (0)