Skip to content

Commit cdcbbdb

Browse files
Merge pull request #8 from e-invoice-be/release-please--branches--main--changes--next
release: 0.4.1
2 parents 0db167e + f55103b commit cdcbbdb

File tree

85 files changed

+183
-167
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

85 files changed

+183
-167
lines changed

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "0.4.0"
2+
".": "0.4.1"
33
}

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# Changelog
22

3+
## 0.4.1 (2025-10-30)
4+
5+
Full Changelog: [v0.4.0...v0.4.1](https://github.com/e-invoice-be/e-invoice-php/compare/v0.4.0...v0.4.1)
6+
7+
### Chores
8+
9+
* use pascal case for phpstan typedefs ([5ceb38f](https://github.com/e-invoice-be/e-invoice-php/commit/5ceb38f37c1a7e8ece8e0a6b2a379d37f6d82f78))
10+
311
## 0.4.0 (2025-10-22)
412

513
Full Changelog: [v0.3.0...v0.4.0](https://github.com/e-invoice-be/e-invoice-php/compare/v0.3.0...v0.4.0)

src/Documents/Allowance.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
/**
1313
* An allowance is a discount for example for early payment, volume discount, etc.
1414
*
15-
* @phpstan-type allowance_alias = array{
15+
* @phpstan-type AllowanceShape = array{
1616
* amount?: string|null,
1717
* baseAmount?: string|null,
1818
* multiplierFactor?: string|null,
@@ -24,7 +24,7 @@
2424
*/
2525
final class Allowance implements BaseModel
2626
{
27-
/** @use SdkModel<allowance_alias> */
27+
/** @use SdkModel<AllowanceShape> */
2828
use SdkModel;
2929

3030
/**

src/Documents/Attachments/AttachmentAddParams.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@
1414
*
1515
* @see EInvoiceAPI\Documents\Attachments->add
1616
*
17-
* @phpstan-type attachment_add_params = array{file: string}
17+
* @phpstan-type AttachmentAddParamsShape = array{file: string}
1818
*/
1919
final class AttachmentAddParams implements BaseModel
2020
{
21-
/** @use SdkModel<attachment_add_params> */
21+
/** @use SdkModel<AttachmentAddParamsShape> */
2222
use SdkModel;
2323
use SdkParams;
2424

src/Documents/Attachments/AttachmentDeleteParams.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@
1414
*
1515
* @see EInvoiceAPI\Documents\Attachments->delete
1616
*
17-
* @phpstan-type attachment_delete_params = array{documentID: string}
17+
* @phpstan-type AttachmentDeleteParamsShape = array{documentID: string}
1818
*/
1919
final class AttachmentDeleteParams implements BaseModel
2020
{
21-
/** @use SdkModel<attachment_delete_params> */
21+
/** @use SdkModel<AttachmentDeleteParamsShape> */
2222
use SdkModel;
2323
use SdkParams;
2424

src/Documents/Attachments/AttachmentDeleteResponse.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@
1111
use EInvoiceAPI\Core\Conversion\Contracts\ResponseConverter;
1212

1313
/**
14-
* @phpstan-type attachment_delete_response = array{isDeleted: bool}
14+
* @phpstan-type AttachmentDeleteResponseShape = array{isDeleted: bool}
1515
*/
1616
final class AttachmentDeleteResponse implements BaseModel, ResponseConverter
1717
{
18-
/** @use SdkModel<attachment_delete_response> */
18+
/** @use SdkModel<AttachmentDeleteResponseShape> */
1919
use SdkModel;
2020

2121
use SdkResponse;

src/Documents/Attachments/AttachmentRetrieveParams.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@
1414
*
1515
* @see EInvoiceAPI\Documents\Attachments->retrieve
1616
*
17-
* @phpstan-type attachment_retrieve_params = array{documentID: string}
17+
* @phpstan-type AttachmentRetrieveParamsShape = array{documentID: string}
1818
*/
1919
final class AttachmentRetrieveParams implements BaseModel
2020
{
21-
/** @use SdkModel<attachment_retrieve_params> */
21+
/** @use SdkModel<AttachmentRetrieveParamsShape> */
2222
use SdkModel;
2323
use SdkParams;
2424

src/Documents/Attachments/DocumentAttachment.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
use EInvoiceAPI\Core\Conversion\Contracts\ResponseConverter;
1212

1313
/**
14-
* @phpstan-type document_attachment = array{
14+
* @phpstan-type DocumentAttachmentShape = array{
1515
* id: string,
1616
* fileName: string,
1717
* fileSize?: int,
@@ -21,7 +21,7 @@
2121
*/
2222
final class DocumentAttachment implements BaseModel, ResponseConverter
2323
{
24-
/** @use SdkModel<document_attachment> */
24+
/** @use SdkModel<DocumentAttachmentShape> */
2525
use SdkModel;
2626

2727
use SdkResponse;

src/Documents/Charge.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
/**
1313
* A charge is an additional fee for example for late payment, late delivery, etc.
1414
*
15-
* @phpstan-type charge_alias = array{
15+
* @phpstan-type ChargeShape = array{
1616
* amount?: string|null,
1717
* baseAmount?: string|null,
1818
* multiplierFactor?: string|null,
@@ -24,7 +24,7 @@
2424
*/
2525
final class Charge implements BaseModel
2626
{
27-
/** @use SdkModel<charge_alias> */
27+
/** @use SdkModel<ChargeShape> */
2828
use SdkModel;
2929

3030
/**

src/Documents/DocumentAttachmentCreate.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@
99
use EInvoiceAPI\Core\Contracts\BaseModel;
1010

1111
/**
12-
* @phpstan-type document_attachment_create = array{
12+
* @phpstan-type DocumentAttachmentCreateShape = array{
1313
* fileName: string, fileData?: string|null, fileSize?: int, fileType?: string
1414
* }
1515
*/
1616
final class DocumentAttachmentCreate implements BaseModel
1717
{
18-
/** @use SdkModel<document_attachment_create> */
18+
/** @use SdkModel<DocumentAttachmentCreateShape> */
1919
use SdkModel;
2020

2121
#[Api('file_name')]

0 commit comments

Comments
 (0)