From e241fbd4ea6974b1b0727cc837550a31c7fc5da2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bal=C3=A1zs=20V=C3=A1radi?= Date: Fri, 11 Oct 2019 10:46:00 +0200 Subject: [PATCH] Mark asStripe... methods internal --- src/Billable.php | 1 + src/Invoice.php | 1 + src/InvoiceItem.php | 1 + src/Payment.php | 1 + src/PaymentMethod.php | 1 + src/Subscription.php | 1 + 6 files changed, 6 insertions(+) diff --git a/src/Billable.php b/src/Billable.php index fa7e6ca2..c4ce17d7 100644 --- a/src/Billable.php +++ b/src/Billable.php @@ -756,6 +756,7 @@ public function createOrGetStripeCustomer(array $options = []) /** * Get the Stripe customer for the model. * + * @internal * @return \Stripe\Customer */ public function asStripeCustomer() diff --git a/src/Invoice.php b/src/Invoice.php index 52ea5737..43d5414a 100644 --- a/src/Invoice.php +++ b/src/Invoice.php @@ -320,6 +320,7 @@ public function downloadAs($filename, array $data) /** * Get the Stripe invoice instance. * + * @internal * @return \Stripe\Invoice */ public function asStripeInvoice() diff --git a/src/InvoiceItem.php b/src/InvoiceItem.php index 11e8efe0..61351af6 100644 --- a/src/InvoiceItem.php +++ b/src/InvoiceItem.php @@ -115,6 +115,7 @@ protected function formatAmount($amount) /** * Get the underlying Stripe invoice item. * + * @internal * @return \Stripe\StripeObject */ public function asStripeInvoiceItem() diff --git a/src/Payment.php b/src/Payment.php index a03b1f14..86178b86 100644 --- a/src/Payment.php +++ b/src/Payment.php @@ -116,6 +116,7 @@ public function validate() /** * The Stripe PaymentIntent instance. * + * @internal * @return \Stripe\PaymentIntent */ public function asStripePaymentIntent() diff --git a/src/PaymentMethod.php b/src/PaymentMethod.php index 86952560..63a23c0a 100644 --- a/src/PaymentMethod.php +++ b/src/PaymentMethod.php @@ -46,6 +46,7 @@ public function delete() /** * Get the Stripe PaymentMethod instance. * + * @internal * @return \Stripe\PaymentMethod */ public function asStripePaymentMethod() diff --git a/src/Subscription.php b/src/Subscription.php index ab9f353a..1d645535 100644 --- a/src/Subscription.php +++ b/src/Subscription.php @@ -663,6 +663,7 @@ public function latestPayment() /** * Get the subscription as a Stripe subscription object. * + * @internal * @param array $expand * @return \Stripe\Subscription */