Skip to content

Commit

Permalink
Add missing initial null values
Browse files Browse the repository at this point in the history
  • Loading branch information
sprain committed Jun 15, 2024
1 parent c1be6b2 commit aa17ced
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/SaferpayJson/Response/PaymentPage/InitializeResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,18 @@ final class InitializeResponse extends Response
/**
* @SerializedName("Token")
*/
private ?string $token;
private ?string $token = null;

/**
* @SerializedName("Expiration")
* @Type("DateTime<'Y-m-d\TH:i:s.uT'>")
*/
private ?\DateTime $expiration;
private ?\DateTime $expiration = null;

/**
* @SerializedName("RedirectUrl")
*/
private ?string $redirectUrl;
private ?string $redirectUrl = null;

public function getToken(): ?string
{
Expand Down

0 comments on commit aa17ced

Please sign in to comment.