Skip to content

Commit

Permalink
Check balance before withdrawal
Browse files Browse the repository at this point in the history
  • Loading branch information
Yann NGALLE committed Nov 30, 2021
1 parent 6f5419f commit 6911bbd
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/Http/Payment/DefaultPaymentProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ class DefaultPaymentProvider extends PaymentProviderGateway
use PaymentProviderTrait;
use FinanceProviderTrait;

public function getId(): int
public function getId(): string
{
return 1;
return "1";
}

public function getName(): string
Expand Down
4 changes: 2 additions & 2 deletions src/Http/Payment/DohonePaymentProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ class DohonePaymentProvider extends PaymentProviderGateway

protected $isWithdrawalRealTime = true;

public function getId(): int
public function getId(): string
{
return 3;
return "3";
}

public function getName(): string
Expand Down
4 changes: 2 additions & 2 deletions src/Http/Payment/OrangePaymentProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ class OrangePaymentProvider extends PaymentProviderGateway
use PaymentProviderTrait;
use FinanceProviderTrait;

public function getId(): int
public function getId(): string
{
return 2;
return "2";
}

public function getName(): string
Expand Down

0 comments on commit 6911bbd

Please sign in to comment.