From 67a116e89b9d579ded909b83f6556a5eac25285c Mon Sep 17 00:00:00 2001 From: Olivier Bellone Date: Fri, 31 Jan 2020 10:12:46 -0800 Subject: [PATCH] Yet more PHPDoc updates --- lib/PaymentMethod.php | 1 + lib/Subscription.php | 4 ++-- lib/SubscriptionSchedule.php | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/lib/PaymentMethod.php b/lib/PaymentMethod.php index df7810506..c0312024d 100644 --- a/lib/PaymentMethod.php +++ b/lib/PaymentMethod.php @@ -13,6 +13,7 @@ * @property \Stripe\StripeObject $card_present * @property int $created * @property string|null $customer + * @property \Stripe\StripeObject $fpx * @property \Stripe\StripeObject $ideal * @property bool $livemode * @property \Stripe\StripeObject $metadata diff --git a/lib/Subscription.php b/lib/Subscription.php index db8a2cc1d..43e14d99a 100644 --- a/lib/Subscription.php +++ b/lib/Subscription.php @@ -85,7 +85,7 @@ public static function getSavedNestedResources() * * @throws \Stripe\Exception\ApiErrorException if the request fails * - * @return Subscription The deleted subscription. + * @return \Stripe\Subscription The deleted subscription. */ public function cancel($params = null, $opts = null) { @@ -98,7 +98,7 @@ public function cancel($params = null, $opts = null) * * @throws \Stripe\Exception\ApiErrorException if the request fails * - * @return Subscription The updated subscription. + * @return \Stripe\Subscription The updated subscription. */ public function deleteDiscount($params = null, $opts = null) { diff --git a/lib/SubscriptionSchedule.php b/lib/SubscriptionSchedule.php index 1431a22a9..98f5d80df 100644 --- a/lib/SubscriptionSchedule.php +++ b/lib/SubscriptionSchedule.php @@ -12,8 +12,8 @@ * @property int $created * @property \Stripe\StripeObject|null $current_phase * @property string $customer + * @property \Stripe\StripeObject $default_settings * @property string $end_behavior - * @property mixed|null $invoice_settings * @property bool $livemode * @property \Stripe\StripeObject|null $metadata * @property \Stripe\StripeObject[] $phases