diff --git a/src/Builder/FormContractor.php b/src/Builder/FormContractor.php
index 773e9a919..14bd07432 100644
--- a/src/Builder/FormContractor.php
+++ b/src/Builder/FormContractor.php
@@ -33,7 +33,7 @@ class FormContractor implements FormContractorInterface
     /**
      * NEXT_MAJOR: remove this property.
      *
-     * @deprecated since version 3.0.4, to be removed in 4.0
+     * @deprecated since sonata-project/doctrine-orm-admin-bundle 3.0.4, to be removed in 4.0
      *
      * @var FormFactoryInterface
      */
diff --git a/src/Datagrid/Pager.php b/src/Datagrid/Pager.php
index 388a075ce..7cbf46395 100644
--- a/src/Datagrid/Pager.php
+++ b/src/Datagrid/Pager.php
@@ -26,7 +26,7 @@ class Pager extends BasePager
     /**
      * NEXT_MAJOR: remove this property.
      *
-     * @deprecated This property is deprecated since version 2.4 and will be removed in 3.0
+     * @deprecated since sonata-project/doctrine-orm-admin-bundle 2.4 and will be removed in 4.0
      */
     protected $queryBuilder = null;