Skip to content

Commit 0d71f00

Browse files
authored
Merge pull request #90 from thecrazybob/fix-readme-currency-method
Call correct currency method instead of property
2 parents 193fcc9 + a72e8ff commit 0d71f00

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ $m1->greaterThan($m2);
5959
$m1->greaterThanOrEqual($m2);
6060
$m1->lessThan($m2);
6161
$m1->lessThanOrEqual($m2);
62-
$m1->convert(Currency::GBP, 3.5);
62+
$m1->convert(Currency::GBP(), 3.5);
6363
$m1->add($m2);
6464
$m1->subtract($m2);
6565
$m1->multiply(2);

0 commit comments

Comments
 (0)