Fix in-code links to event types documentation

Created on 17 October 2023, 9 months ago

Problem/Motivation

The following items point to /php subpath of https://stripe.com/docs/api which does not exist. Correct these documentation links.

src/Event/ExternalAccountEvents.php
  12,11:    * @see https://stripe.com/docs/api/php#event_types-account.external_account.created
  21,11:    * @see https://stripe.com/docs/api/php#event_types-account.external_account.deleted
  30,11:    * @see https://stripe.com/docs/api/php#event_types-account.external_account.updated

src/Event/SubscriptionEvent.php
  12,9:  * @see https://stripe.com/docs/api/php#subscription_object

src/Event/SubscriptionEvents.php
  12,11:    * @see https://stripe.com/docs/api/php#event_types-customer.subscription.created
  21,11:    * @see https://stripe.com/docs/api/php#event_types-customer.subscription.deleted
  31,11:    * @see https://stripe.com/docs/api/php#event_types-customer.subscription.trial_will_end
  40,11:    * @see https://stripe.com/docs/api/php#event_types-customer.subscription.updated

Proposed resolution

Correct these links in code doc-blocks.

Note: I purposely did not include the link from src/Event/BitcoinEvent.php, since that event type seems to no longer exist in Stripe docs.

🐛 Bug report
Status

Fixed

Version

2.0

Component

Documentation

Created by

🇺🇸United States jcandan

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024