From 82137da4c3791b49ca662f04a21b5792d9257468 Mon Sep 17 00:00:00 2001 From: Anders Jenbo Date: Fri, 18 Jul 2025 10:06:14 +0200 Subject: [PATCH 1/2] Correct Transaction::$CreditCardExpiry type --- src/Response/Embeds/Transaction.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; From a82d78ab732a111380500823e8d2c5e446d1c034 Mon Sep 17 00:00:00 2001 From: Bushra Asif Date: Fri, 8 Aug 2025 09:23:29 +0000 Subject: [PATCH 2/2] Update version and release notes --- CHANGELOG.md | 4 ++++ src/AbstractApi.php | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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