diff --git a/stubs/EntityManager.stub b/stubs/EntityManager.stub index dad0e99d..4b88a295 100644 --- a/stubs/EntityManager.stub +++ b/stubs/EntityManager.stub @@ -19,6 +19,7 @@ class EntityManager implements EntityManagerInterface * @template T * @phpstan-param T $entity * @phpstan-return T + * @deprecated 2.7 This method is being removed from the ORM and won't have any replacement */ public function merge($entity); @@ -51,6 +52,7 @@ class EntityManager implements EntityManagerInterface * @phpstan-param T $entity * @phpstan-param bool $deep * @phpstan-return T + * @deprecated 2.7 This method is being removed from the ORM and won't have any replacement */ public function copy($entity, $deep = false); diff --git a/stubs/EntityManagerInterface.stub b/stubs/EntityManagerInterface.stub index 33ef1ea0..e59028a7 100644 --- a/stubs/EntityManagerInterface.stub +++ b/stubs/EntityManagerInterface.stub @@ -52,6 +52,7 @@ interface EntityManagerInterface extends ObjectManager * @phpstan-param T $entity * @phpstan-param bool $deep * @phpstan-return T + * @deprecated 2.7 This method is being removed from the ORM and won't have any replacement */ public function copy($entity, $deep = false);