Skip to content

Commit fad2b37

Browse files
authored
Merge pull request #59 from AltaPay/correct-CreditCardExpiry-type
Correct credit card expiry type
2 parents ceba53f + a82d78a commit fad2b37

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
## [3.5.2] - 2025-08-08
8+
### Added
9+
- Correct `Transaction` `CreditCardExpiry` type.
10+
711
## [3.5.1] - 2025-06-11
812
### Added
913
- Improve type hinting.

src/AbstractApi.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ abstract class AbstractApi
5555
/**
5656
* PHP API version
5757
*/
58-
const PHP_API_VERSION = '3.5.1';
58+
const PHP_API_VERSION = '3.5.2';
5959

6060
/**
6161
* Event dispatcher

src/Response/Embeds/Transaction.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ class Transaction extends AbstractResponse
8585
public $CardStatus;
8686

8787
/**
88-
* @var CreditCard
88+
* @var ?CreditCard
8989
*/
9090
public $CreditCardExpiry;
9191

0 commit comments

Comments
 (0)