Skip to content

Commit

Permalink
Merge branch '3.x' into validator-add-deprecation-notices
Browse files Browse the repository at this point in the history
  • Loading branch information
tambait authored Dec 5, 2020
2 parents c143ddf + e29ffa2 commit 283d83c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 4 additions & 0 deletions UPGRADE-3.x.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ UPGRADE FROM 3.xx to 3.xx

Methods are deprecated without replacement.

### Sonata\AdminBundle\Model\ModelManagerInterface

Argument 2 of `Sonata\AdminBundle\Model\ModelManagerInterface::createQuery()` method has been removed.

### Sonata\AdminBundle\Admin\Pool

- Passing a `Symfony\Component\PropertyAccess\PropertyAccessorInterface` instance as 4 argument instantiating
Expand Down
3 changes: 1 addition & 2 deletions src/Model/ModelManagerInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -119,13 +119,12 @@ public function getParentFieldDescription($parentAssociationMapping, $class);

/**
* @param string $class
* @param string $alias
*
* @return ProxyQueryInterface
*
* @phpstan-param class-string $class
*/
public function createQuery($class, $alias = 'o');
public function createQuery($class);

/**
* Get the identifier for the model type of this class.
Expand Down

0 comments on commit 283d83c

Please sign in to comment.