diff --git a/CRM/Batch/Form/Entry.php b/CRM/Batch/Form/Entry.php index 79971447be4db7d9753bd4f62fe4c1cb1a685457..fca0f591902b0e68ae256e99c7c8e65a592cf570 100644 --- a/CRM/Batch/Form/Entry.php +++ b/CRM/Batch/Form/Entry.php @@ -1018,7 +1018,7 @@ class CRM_Batch_Form_Entry extends CRM_Core_Form { * @throws \CRM_Core_Exception * @throws \CiviCRM_API3_Exception */ - protected function legacyProcessMembership($contactID, $membershipTypeID, $customFieldsFormatted, $membershipSource, $memParams = [], $formDates = []): CRM_Member_BAO_Membership { + protected function legacyProcessMembership($contactID, $membershipTypeID, $customFieldsFormatted, $membershipSource, $memParams = [], $formDates = []): CRM_Member_DAO_Membership { $updateStatusId = FALSE; $changeToday = NULL; $is_test = FALSE;