From 84213b9f05c90161f7d82e40c32bbf39a06e2258 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Roman=C3=AD?= Date: Fri, 7 Oct 2022 18:03:42 +0200 Subject: [PATCH] fix deprecated trigger help comment --- lib/Doctrine/ORM/Event/LifecycleEventArgs.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Doctrine/ORM/Event/LifecycleEventArgs.php b/lib/Doctrine/ORM/Event/LifecycleEventArgs.php index 945989161f0..805f875db22 100644 --- a/lib/Doctrine/ORM/Event/LifecycleEventArgs.php +++ b/lib/Doctrine/ORM/Event/LifecycleEventArgs.php @@ -42,7 +42,7 @@ public function getEntity() Deprecation::trigger( 'doctrine/orm', 'https://github.com/doctrine/orm/issues/9875', - 'Method %s() is deprecated and will be removed in Doctrine ORM 3.0. Use getObjectManager() instead.', + 'Method %s() is deprecated and will be removed in Doctrine ORM 3.0. Use getObject() instead.', __METHOD__ );