Skip to content

Commit

Permalink
Mark asStripe... methods internal
Browse files Browse the repository at this point in the history
  • Loading branch information
netpok committed Oct 11, 2019
1 parent f925329 commit e241fbd
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/Billable.php
Original file line number Diff line number Diff line change
Expand Up @@ -756,6 +756,7 @@ public function createOrGetStripeCustomer(array $options = [])
/**
* Get the Stripe customer for the model.
*
* @internal
* @return \Stripe\Customer
*/
public function asStripeCustomer()
Expand Down
1 change: 1 addition & 0 deletions src/Invoice.php
Original file line number Diff line number Diff line change
Expand Up @@ -320,6 +320,7 @@ public function downloadAs($filename, array $data)
/**
* Get the Stripe invoice instance.
*
* @internal
* @return \Stripe\Invoice
*/
public function asStripeInvoice()
Expand Down
1 change: 1 addition & 0 deletions src/InvoiceItem.php
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ protected function formatAmount($amount)
/**
* Get the underlying Stripe invoice item.
*
* @internal
* @return \Stripe\StripeObject
*/
public function asStripeInvoiceItem()
Expand Down
1 change: 1 addition & 0 deletions src/Payment.php
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ public function validate()
/**
* The Stripe PaymentIntent instance.
*
* @internal
* @return \Stripe\PaymentIntent
*/
public function asStripePaymentIntent()
Expand Down
1 change: 1 addition & 0 deletions src/PaymentMethod.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ public function delete()
/**
* Get the Stripe PaymentMethod instance.
*
* @internal
* @return \Stripe\PaymentMethod
*/
public function asStripePaymentMethod()
Expand Down
1 change: 1 addition & 0 deletions src/Subscription.php
Original file line number Diff line number Diff line change
Expand Up @@ -663,6 +663,7 @@ public function latestPayment()
/**
* Get the subscription as a Stripe subscription object.
*
* @internal
* @param array $expand
* @return \Stripe\Subscription
*/
Expand Down

0 comments on commit e241fbd

Please sign in to comment.