From fd2fa86cf0ac026e23712bd25d52ecfad4e5b835 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20=C5=A0tancl?= Date: Thu, 26 May 2022 16:08:09 +0200 Subject: [PATCH] Fix array syntax in example --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index d2712ad..ae241cc 100644 --- a/README.md +++ b/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