Merge pull request #19806 from eileenmcnaughton/msg_compat
[civicrm-core.git] / tests / phpunit / api / v3 / PledgePaymentTest.php
index f3a374335b30a5c62c89e100b4ca7409cd148ab2..4f1afba6c7a29d9416bfe380acfb829744bbf4b7 100644 (file)
@@ -28,7 +28,7 @@ class api_v3_PledgePaymentTest extends CiviUnitTestCase {
    *
    * @throws \CRM_Core_Exception
    */
-  public function setUp() {
+  public function setUp(): void {
     parent::setUp();
     $this->_individualId = $this->individualCreate();
     $this->_pledgeID = $this->pledgeCreate(['contact_id' => $this->_individualId]);
@@ -39,7 +39,7 @@ class api_v3_PledgePaymentTest extends CiviUnitTestCase {
    * Clean up after function.
    * @throws \CRM_Core_Exception
    */
-  public function tearDown() {
+  public function tearDown(): void {
     $tablesToTruncate = [
       'civicrm_contribution',
       'civicrm_contact',