Skip to content

Commit

Permalink
Merge pull request #3 from HannahDeWachter/develop
Browse files Browse the repository at this point in the history
Add default values to $websiteKey and $secretKey
  • Loading branch information
roelvanhintum authored Dec 14, 2023
2 parents 44fc687 + 4fad4f3 commit cd08bb8
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions src/gateways/CreditCardGateway.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ class CreditCardGateway extends Gateway
/**
* @var string|null
*/
public ?string $websiteKey;
public ?string $websiteKey = "";

/**
* @var string|null
*/
public ?string $secretKey;
public ?string $secretKey = "";

/**
* @var bool|null
Expand Down
4 changes: 2 additions & 2 deletions src/gateways/IdealGateway.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ class IdealGateway extends Gateway
/**
* @var string|null
*/
public ?string $websiteKey;
public ?string $websiteKey = "";

/**
* @var string|null
*/
public ?string $secretKey;
public ?string $secretKey = "";

/**
* @var bool|null
Expand Down
4 changes: 2 additions & 2 deletions src/gateways/PayPalGateway.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ class PayPalGateway extends Gateway
/**
* @var string|null
*/
public ?string $websiteKey;
public ?string $websiteKey = "";

/**
* @var string|null
*/
public ?string $secretKey;
public ?string $secretKey = "";

/**
* @var bool|null
Expand Down
4 changes: 2 additions & 2 deletions src/gateways/SepaDirectDebitGateway.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ class SepaDirectDebitGateway extends Gateway
/**
* @var string|null
*/
public ?string $websiteKey;
public ?string $websiteKey = "";

/**
* @var string|null
*/
public ?string $secretKey;
public ?string $secretKey = "";

/**
* @var bool|null
Expand Down

0 comments on commit cd08bb8

Please sign in to comment.