Closed dkMorlok closed 5 years ago
Thanks for pointing this out! We'll make a note to update this. If you'd like to submit a PR, we'd be happy to take a look.
Opened a PR internally to fix this. Should go out in the next release.
This should be fixed now in the latest version. Thanks for brining it up.
General information
Issue description
Invalid type hints in Transaction.php in properties:
$creditCardDetails
should have type\Braintree\Transaction\CreditCardDetails
$masterpassCardDetails
should have type\Braintree\Transaction\MasterpassCardDetails
$paypalDetails
should have type\Braintree\Transaction\PayPalDetails
$localPaymentDetails
should have type\Braintree\Transaction\LocalPaymentDetails
$samsungPayCardDetails
should have type\Braintree\Transaction\SamsungPayCardDetails
$visaCheckoutCardDetails
should have type\Braintree\VisaCheckoutCardDetails