Skip to content

Commit d3e59f3

Browse files
committed
v1.4.0 release
Update ApiException responseObject type for enhanced deserialization Refines the `responseObject` property in `ApiException` to use specific types (`ModelInterface` and `Response`) instead of generic types, improving object deserialization and compatibility with response models. Also updates the changelog to reflect the changes and prepares for version 1.4.0 release.
1 parent 1c00af7 commit d3e59f3

3 files changed

Lines changed: 9 additions & 3 deletions

File tree

.openapi-generator/templates/ApiException.mustache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ class ApiException extends Exception
4848
/**
4949
* The deserialized response object.
5050
*/
51-
protected null|\stdClass|string|array $responseObject;
51+
protected \VitexSoftware\Raiffeisenbank\Model\ModelInterface|\GuzzleHttp\Psr7\Response $responseObject;
5252
5353
/**
5454
* Constructor

debian/changelog

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,15 @@
1+
php-vitexsoftware-rbczpremiumapi (1.4.0) UNRELEASED; urgency=medium
2+
3+
* object deserialization back in game
4+
5+
-- vitex <info@vitexsoftware.cz> Wed, 28 May 2025 15:45:45 +0200
6+
17
php-vitexsoftware-rbczpremiumapi (1.3.2) unstable; urgency=medium
28

39
[ Vitex ]
410
* Statementor::setStatementLine() added
511

6-
-- vitex <info@vitexsoftware.cz> Wed, 28 May 2025 13:07:55 +0200
12+
-- vitex <info@vitexsoftware.cz> Wed, 28 May 2025 15:45:16 +0200
713

814
php-vitexsoftware-rbczpremiumapi (1.3.1) unstable; urgency=medium
915

lib/ApiException.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ class ApiException extends \Exception
5858
/**
5959
* The deserialized response object.
6060
*/
61-
protected null|array|\stdClass|string $responseObject;
61+
protected \GuzzleHttp\Psr7\Response|\VitexSoftware\Raiffeisenbank\Model\ModelInterface $responseObject;
6262

6363
/**
6464
* Constructor.

0 commit comments

Comments
 (0)