diff --git a/src/Datagrid/ProxyQuery.php b/src/Datagrid/ProxyQuery.php index a44f197f4..f23f48ea1 100644 --- a/src/Datagrid/ProxyQuery.php +++ b/src/Datagrid/ProxyQuery.php @@ -22,6 +22,8 @@ /** * This class try to unify the query usage with Doctrine. * + * @final since sonata-project/doctrine-orm-admin-bundle 3.x + * * @method Query\Expr expr() * @method QueryBuilder setCacheable($cacheable) * @method bool isCacheable() diff --git a/src/Exporter/DataSource.php b/src/Exporter/DataSource.php index 27399cce7..73a46a843 100644 --- a/src/Exporter/DataSource.php +++ b/src/Exporter/DataSource.php @@ -20,6 +20,9 @@ use Sonata\Exporter\Source\DoctrineORMQuerySourceIterator; use Sonata\Exporter\Source\SourceIteratorInterface; +/** + * @final since sonata-project/doctrine-orm-admin-bundle 3.x + */ class DataSource implements DataSourceInterface { public function createIterator(ProxyQueryInterface $query, array $fields): SourceIteratorInterface