Repository navigation
6.0.2
Fixed
AppleAppStore\ServerNotificationSubtypecould not be autoloaded in 6.0.0: the enum declared
namespaceReceiptValidator\AppleAppStorebut lived at
src/AppleAppStore/JWT/ServerNotificationSubtype.php, so any App Store Server Notification V2
carrying asubtypefailed with a class-not-found error inside
ServerNotification::__construct(). The file now lives at
src/AppleAppStore/ServerNotificationSubtype.php; the fully qualified name is unchanged.
Changed
AppleAppStore\Transactionnow extendsAbstractTransactioninstead ofAbstractResponse. As a
resultgetTransactionId(),getProductId()andgetQuantity()are inherited and now return
non-nullablestring,stringandint(previously?string,?string,?int), the
setTransactionId(),setProductId()andsetQuantity()setters became available, and the class
no longer exposesAbstractResponse::getTransactions().getEnvironment()/setEnvironment()
are kept.
Notes written from the code diff for this release; see CHANGELOG.md.