Skip to content

Commit

Permalink
hotfix message to empty string when not defined
Browse files Browse the repository at this point in the history
  • Loading branch information
bernard-ng committed Sep 3, 2024
1 parent 49dd660 commit 559065a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Response/PaymentResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ final class PaymentResponse extends FlexpayResponse
{
public function __construct(
public Status $code,
public string $message,
public string $message = '',
public ?string $reference = null,
#[SerializedName('provider_reference')]
public ?string $providerReference = null,
Expand Down

0 comments on commit 559065a

Please sign in to comment.