From 2ea7bd005914d078dafbfe99f9e34a3fecc5f0dc Mon Sep 17 00:00:00 2001 From: Mark Kimsal Date: Sun, 20 Feb 2022 09:24:17 -0500 Subject: [PATCH] docs: rawDiscountFor returns first() StripeObject from collection --- src/Invoice.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Invoice.php b/src/Invoice.php index cf09d993..4f1d4568 100644 --- a/src/Invoice.php +++ b/src/Invoice.php @@ -224,7 +224,7 @@ public function discountFor(Discount $discount) * Calculate the raw amount for a given discount. * * @param \Laravel\Cashier\Discount $discount - * @return int|null + * @return \Stripe\StripeObject|null */ public function rawDiscountFor(Discount $discount) {