Skip to content

Commit 559065a

Browse files
committed
hotfix message to empty string when not defined
1 parent 49dd660 commit 559065a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Response/PaymentResponse.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ final class PaymentResponse extends FlexpayResponse
1616
{
1717
public function __construct(
1818
public Status $code,
19-
public string $message,
19+
public string $message = '',
2020
public ?string $reference = null,
2121
#[SerializedName('provider_reference')]
2222
public ?string $providerReference = null,

0 commit comments

Comments
 (0)