diff --git a/lib/Refund.php b/lib/Refund.php index e7dab2698..2ec220ab7 100644 --- a/lib/Refund.php +++ b/lib/Refund.php @@ -13,7 +13,7 @@ * @property int $created * @property string $currency * @property string $failure_balance_transaction - * @property string failure_reason + * @property string $failure_reason * @property StripeObject $metadata * @property mixed $reason * @property mixed $receipt_number diff --git a/lib/StripeObject.php b/lib/StripeObject.php index 2e249e946..a096dddef 100644 --- a/lib/StripeObject.php +++ b/lib/StripeObject.php @@ -220,7 +220,7 @@ public function values() * @param array $values * @param null|string|array|Util\RequestOptions $opts * - * @return StripeObject The object constructed from the given values. + * @return static The object constructed from the given values. */ public static function constructFrom($values, $opts = null) { @@ -499,9 +499,10 @@ public function getLastResponse() } /** - * @param ApiResponse + * Sets the last response from the Stripe API * - * @return void Set the last response from the Stripe API + * @param ApiResponse $resp + * @return void */ public function setLastResponse($resp) { diff --git a/lib/Subscription.php b/lib/Subscription.php index 5cdebb87a..e6bfa1dd3 100644 --- a/lib/Subscription.php +++ b/lib/Subscription.php @@ -13,8 +13,8 @@ * @property bool $cancel_at_period_end * @property int $canceled_at * @property int $created - * @property int current_period_end - * @property int current_period_start + * @property int $current_period_end + * @property int $current_period_start * @property string $customer * @property int $days_until_due * @property Discount $discount