Skip to content

Commit

Permalink
Merge pull request #12 from petrknap/8-update-moneyphpmoney
Browse files Browse the repository at this point in the history
refactor: updated `moneyphp/money`
  • Loading branch information
petrknap authored Oct 8, 2023
2 parents 7878239 + 3b12344 commit da11ea5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ $amount = 799.50;
echo '<img src="' .
SpaydQr::create(
$iban,
Money::CZK($amount * 100)
Money::CZK((int)($amount * 100))
)->getDataUri()
. '">';
```
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"require": {
"php": ">=8.0",
"endroid/qr-code": "^3.5",
"moneyphp/money": "^3.2",
"moneyphp/money": "^4.0",
"sunfoxcz/spayd-php": "^2.0"
},
"require-dev": {
Expand Down

0 comments on commit da11ea5

Please sign in to comment.