Skip to content

Commit

Permalink
Merge pull request #535 from stripe/ob-fix-phpdoc
Browse files Browse the repository at this point in the history
Fix some PHPDoc
  • Loading branch information
ob-stripe authored Oct 12, 2018
2 parents 02bfccd + 465e628 commit bf254bc
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion lib/Refund.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
7 changes: 4 additions & 3 deletions lib/StripeObject.php
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down Expand Up @@ -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)
{
Expand Down
4 changes: 2 additions & 2 deletions lib/Subscription.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bf254bc

Please sign in to comment.