mirror of
https://github.com/archtechx/money.git
synced 2025-12-12 03:14:03 +00:00
Fix array syntax in example
This commit is contained in:
parent
2021b13092
commit
fd2fa86cf0
1 changed files with 5 additions and 5 deletions
10
README.md
10
README.md
|
|
@ -263,11 +263,11 @@ $currency = new Currency(
|
|||
|
||||
// array
|
||||
$currency = [
|
||||
code: 'FOO',
|
||||
name: 'Foo currency',
|
||||
rate: 1.8,
|
||||
prefix: '# ',
|
||||
suffix: ' FOO',
|
||||
'code' => 'FOO',
|
||||
'name' => 'Foo currency',
|
||||
'rate' => 1.8,
|
||||
'prefix' => '# ',
|
||||
'suffix' => ' FOO',
|
||||
];
|
||||
|
||||
// class
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue