mirror of
https://gitlab.com/uldvstar/exchange-2.0.git
synced 2026-08-22 14:04:02 +00:00
Fixed wallet - integrate
This commit is contained in:
@@ -11,7 +11,7 @@ class WalletObject implements DataTransferObject
|
||||
private $company_id;
|
||||
|
||||
/** @var int */
|
||||
private $currency;
|
||||
private $currency_id;
|
||||
|
||||
/** @var int */
|
||||
private $code;
|
||||
@@ -25,7 +25,7 @@ class WalletObject implements DataTransferObject
|
||||
public function __construct(int $company_id, int $currency, int $code)
|
||||
{
|
||||
$this->company_id = $company_id;
|
||||
$this->currency = $currency;
|
||||
$this->currency_id = $currency;
|
||||
$this->code = $code;
|
||||
}
|
||||
|
||||
@@ -42,7 +42,7 @@ class WalletObject implements DataTransferObject
|
||||
*/
|
||||
public function getCurrency(): int
|
||||
{
|
||||
return $this->currency;
|
||||
return $this->currency_id;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user