Skip to content

Commit

Permalink
dev
Browse files Browse the repository at this point in the history
  • Loading branch information
skeeks-semenov committed Jul 21, 2022
1 parent ce85ed6 commit 868b8f0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Money.php
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,8 @@ public function jsonSerialize()
{
return [
'amount' => (float) $this->amount,
'currency' => $this->currency->code
'currency' => $this->currency->code,
'convertAndFormat' => \Yii::$app->money->convertAndFormat($this),
];
}

Expand Down

0 comments on commit 868b8f0

Please sign in to comment.