Skip to content

Commit

Permalink
Add deprecated annotation to AbstractAdmin validate() method
Browse files Browse the repository at this point in the history
  • Loading branch information
7ochem authored and VincentLanglet committed Jun 29, 2021
1 parent a2f89a6 commit 573ad19
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Admin/AbstractAdmin.php
Expand Up @@ -557,6 +557,8 @@ public function getDataSourceIterator()

/**
* NEXT_MAJOR: Remove this method.
*
* @deprecated since sonata-project/admin-bundle 3.82, use configureFormOptions() to set $formOptions['constraints'] instead.
*/
public function validate(ErrorElement $errorElement, $object)
{
Expand Down

0 comments on commit 573ad19

Please sign in to comment.