Skip to content

Commit

Permalink
doc: fix inheritDoc
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaHungDinh committed Sep 24, 2024
1 parent df25235 commit 8b8cc88
Show file tree
Hide file tree
Showing 17 changed files with 33 additions and 33 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ public function getOptions(): array

/**
* @since 2.20.0
* @inerhitDoc
* @@inheritDoc
* @throws Exception
*/
public function refundDonation(Donation $donation)
Expand Down
2 changes: 1 addition & 1 deletion src/PaymentGateways/Gateways/Stripe/BECSGateway.php
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ protected function getPaymentIntentArgs(): array

/**
* @since 2.20.0
* @inerhitDoc
* @@inheritDoc
* @throws Exception
*/
public function refundDonation(Donation $donation)
Expand Down
2 changes: 1 addition & 1 deletion src/PaymentGateways/Gateways/Stripe/CheckoutGateway.php
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ public function getLegacyFormFieldMarkup(int $formId, array $args): string

/**
* @since 2.20.0
* @inerhitDoc
* @@inheritDoc
* @throws Exception
*/
public function refundDonation(Donation $donation)
Expand Down
2 changes: 1 addition & 1 deletion src/PaymentGateways/Gateways/Stripe/CreditCardGateway.php
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ public function getLegacyFormFieldMarkup(int $formId, array $args): string

/**
* @since 2.20.0
* @inerhitDoc
* @@inheritDoc
* @throws Exception
*/
public function refundDonation(Donation $donation)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,23 +12,23 @@ class AddMissingTransactionIdForUncompletedDonations extends Migration
{

/**
* @inerhitDoc
* @@inheritDoc
*/
public static function id()
{
return 'add-missing-transaction-id-for-uncompleted-stripe-donations';
}

/**
* @inerhitDoc
* @@inheritDoc
*/
public static function timestamp()
{
return strtotime('2022-03-28');
}

/**
* @inerhitDoc
* @@inheritDoc
*/
public function run()
{
Expand Down Expand Up @@ -71,7 +71,7 @@ public function run()
}

/**
* @inerhitDoc
* @@inheritDoc
*/
public static function title()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class AddStatementDescriptorToStripeAccounts extends Migration
use HasStripeStatementDescriptorText;

/**
* @inerhitDoc
* @@inheritDoc
* @since 2.19.0
* @since 2.19.1 Use old stripe statement descriptor requirements to filter text.
* https://github.com/impress-org/givewp/pull/6269
Expand All @@ -42,7 +42,7 @@ public function run()
}

/**
* @inerhitDoc
* @@inheritDoc
* @since 2.19.0
*/
public static function id()
Expand All @@ -51,7 +51,7 @@ public static function id()
}

/**
* @inerhitDoc
* @@inheritDoc
* @since 2.19.0
*/
public static function timestamp()
Expand All @@ -60,7 +60,7 @@ public static function timestamp()
}

/**
* @inerhitDoc
* @@inheritDoc
* @since 2.19.0
*/
public static function title()
Expand Down
2 changes: 1 addition & 1 deletion src/PaymentGateways/Gateways/Stripe/SEPAGateway.php
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ protected function getPaymentIntentArgs(): array

/**
* @since 2.20.0
* @inerhitDoc
* @@inheritDoc
* @throws Exception
*/
public function refundDonation(Donation $donation)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class ChargeRefunded extends StripeEventListener
/**
* @since 2.21.0
*
* @inerhitDoc
* @@inheritDoc
*/
public function processEvent(Event $event)
{
Expand Down Expand Up @@ -56,7 +56,7 @@ private function addSupportForLegacyActionHook(Event $event)

/**
* @since 2.21.0
* @inerhitDoc
* @@inheritDoc
*/
protected function getDonation(Event $event)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class CheckoutSessionCompleted extends StripeEventListener
/**
* @since 2.21.0
*
* @inerhitDoc
* @@inheritDoc
*/
public function processEvent(Event $event)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class PaymentIntentPaymentFailed extends StripeEventListener
/**
* @since 2.21.0
*
* @inerhitDoc
* @@inheritDoc
*/
public function processEvent(Event $event)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class PaymentIntentSucceeded extends StripeEventListener

/**
* @since 2.21.0
* @inerhitDoc
* @@inheritDoc
*/
public function processEvent(Event $event)
{
Expand Down
2 changes: 1 addition & 1 deletion src/PaymentGateways/Gateways/TestGateway/TestGateway.php
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ public function createPayment(Donation $donation, $gatewayData): GatewayCommand
/**
* @since 2.29.0 Return PaymentRefunded instead of a bool value
* @since 2.20.0
* @inerhitDoc
* @@inheritDoc
*/
public function refundDonation(Donation $donation): PaymentRefunded
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ public function createPayment(Donation $donation, $gatewayData)
/**
* @since 2.29.0 Return PaymentRefunded instead of a bool value
* @since 2.20.0
* @inerhitDoc
* @@inheritDoc
*/
public function refundDonation(Donation $donation): PaymentRefunded
{
Expand Down
8 changes: 4 additions & 4 deletions src/PaymentGateways/Migrations/CopyV2GatewaysSettingsToV3.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,23 +11,23 @@ class CopyV2GatewaysSettingsToV3 extends Migration
{

/**
* @inerhitDoc
* @@inheritDoc
*/
public static function id()
{
return 'copy-v2-gateways-settings-to-v3';
}

/**
* @inerhitDoc
* @@inheritDoc
*/
public static function timestamp()
{
return strtotime('2023-09-11');
}

/**
* @inerhitDoc
* @@inheritDoc
*/
public function run()
{
Expand Down Expand Up @@ -55,7 +55,7 @@ public function run()
}

/**
* @inerhitDoc
* @@inheritDoc
*/
public static function title()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class RegisterPayPalDonationsRefreshTokenCronJobByMode extends Migration
{

/**
* @inerhitDoc
* @@inheritDoc
* @since 2.30.0
*/
public function run()
Expand Down Expand Up @@ -57,7 +57,7 @@ public function run()
}

/**
* @inerhitDoc
* @@inheritDoc
* @since 2.30.0
*/
public static function id()
Expand All @@ -66,7 +66,7 @@ public static function id()
}

/**
* @inerhitDoc
* @@inheritDoc
* @since 2.30.0
*/
public static function timestamp()
Expand All @@ -75,7 +75,7 @@ public static function timestamp()
}

/**
* @inerhitDoc
* @@inheritDoc
* @since 2.30.0
*/
public static function title()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,23 +26,23 @@ public function run()
}

/**
* @inerhitDoc
* @@inheritDoc
*/
public static function id()
{
return 'remove-log-with-card-info';
}

/**
* @inerhitDoc
* @@inheritDoc
*/
public static function timestamp()
{
return strtotime('2022-03-25');
}

/**
* @inerhitDoc
* @@inheritDoc
*/
public static function title()
{
Expand Down
4 changes: 2 additions & 2 deletions src/PaymentGateways/PayPalCommerce/PayPalCommerce.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public function getPaymentMethodLabel(): string
}

/**
* @inerhitDoc
* @@inheritDoc
* @since 2.19.0
*
* @param array{paypalOrder: PayPalOrder} $gatewayData
Expand Down Expand Up @@ -245,7 +245,7 @@ public function getOptions()

/**
* @since 2.20.0
* @inerhitDoc
* @@inheritDoc
* @throws Exception
*/
public function refundDonation(Donation $donation)
Expand Down

0 comments on commit 8b8cc88

Please sign in to comment.