diff --git a/CHANGELOG.md b/CHANGELOG.md index 05bc868..11601a0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [3.5.2] - 2025-08-08 +### Added +- Correct `Transaction` `CreditCardExpiry` type. + ## [3.5.1] - 2025-06-11 ### Added - Improve type hinting. diff --git a/src/AbstractApi.php b/src/AbstractApi.php index d955154..2620c21 100644 --- a/src/AbstractApi.php +++ b/src/AbstractApi.php @@ -55,7 +55,7 @@ abstract class AbstractApi /** * PHP API version */ - const PHP_API_VERSION = '3.5.1'; + const PHP_API_VERSION = '3.5.2'; /** * Event dispatcher diff --git a/src/Response/Embeds/Transaction.php b/src/Response/Embeds/Transaction.php index 4f39146..e356360 100644 --- a/src/Response/Embeds/Transaction.php +++ b/src/Response/Embeds/Transaction.php @@ -85,7 +85,7 @@ class Transaction extends AbstractResponse public $CardStatus; /** - * @var CreditCard + * @var ?CreditCard */ public $CreditCardExpiry;