Skip to content

Commit

Permalink
Add missing @deprecated annotation at getTargetEntity()
Browse files Browse the repository at this point in the history
  • Loading branch information
phansys committed May 25, 2020
1 parent 0d66213 commit 587ff24
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Admin/FieldDescription.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ public function setAssociationMapping($associationMapping)

/**
* NEXT_MAJOR: Remove this method.
*
* @deprecated since sonata-project/doctrine-orm-admin-bundle 3.x and will be removed in version 4.0. Use FieldDescription::getTargetModel() instead.
*/
public function getTargetEntity()
{
Expand Down

0 comments on commit 587ff24

Please sign in to comment.