diff --git a/tests/Unit/Revenue/LegacyListeners/UpdateRevenueWhenDonationAmountUpdatedTest.php b/tests/Unit/Revenue/LegacyListeners/UpdateRevenueWhenDonationAmountUpdatedTest.php index 1f49032492..5737cef139 100644 --- a/tests/Unit/Revenue/LegacyListeners/UpdateRevenueWhenDonationAmountUpdatedTest.php +++ b/tests/Unit/Revenue/LegacyListeners/UpdateRevenueWhenDonationAmountUpdatedTest.php @@ -10,6 +10,9 @@ use Give\Tests\TestCase; use Give\Tests\TestTraits\RefreshDatabase; +/** + * @unreleased + */ class UpdateRevenueWhenDonationAmountUpdatedTest extends TestCase { use RefreshDatabase; @@ -17,7 +20,7 @@ class UpdateRevenueWhenDonationAmountUpdatedTest extends TestCase /** * @unreleased */ - public function testRevenueIsUpdatedWhenDonationIsUpdated() + public function testRevenueIsUpdatedWhenDonationIsUpdated(): void { $donation = Donation::factory()->create([ 'status' => DonationStatus::COMPLETE(), @@ -37,9 +40,7 @@ public function testRevenueIsUpdatedWhenDonationIsUpdated() } /** - * @param Donation $donation - * - * @return int + * @unreleased */ private function getRevenueAmountForDonation(Donation $donation) { diff --git a/tests/Unit/Revenue/Listeners/UpdateRevenueWhenDonationAmountUpdatedTest.php b/tests/Unit/Revenue/Listeners/UpdateRevenueWhenDonationAmountUpdatedTest.php index 1cac41a791..57aaf4a7ff 100644 --- a/tests/Unit/Revenue/Listeners/UpdateRevenueWhenDonationAmountUpdatedTest.php +++ b/tests/Unit/Revenue/Listeners/UpdateRevenueWhenDonationAmountUpdatedTest.php @@ -21,7 +21,7 @@ class UpdateRevenueWhenDonationAmountUpdatedTest extends TestCase * @unreleased updated action to accept Donation model * @since 2.20.1 */ - public function testRevenueIsUpdatedWhenDonationIsUpdated() + public function testRevenueIsUpdatedWhenDonationIsUpdated(): void { $donation = Donation::factory()->create([ 'status' => DonationStatus::COMPLETE(), @@ -41,9 +41,7 @@ public function testRevenueIsUpdatedWhenDonationIsUpdated() } /** - * @param Donation $donation - * - * @return int + * @since 2.20.1 */ private function getRevenueAmountForDonation(Donation $donation) {