spaze / phpstan-stripe

Stripe SDK extension for PHPStan
MIT License
5 stars 6 forks source link

Add pseudo-type for values of the `Stripe\Invoice::$total_tax_amounts` array #14

Closed spaze closed 2 years ago

spaze commented 2 years ago

Currently documented as

 * @property \Stripe\StripeObject[] $total_tax_amounts The aggregate amounts calculated per tax rate for all line items.

which is not enough for a proper static analysis.