From ff4788d554d281b2f7672ca94ab8e35fd543c92a Mon Sep 17 00:00:00 2001 From: Sergio N Date: Sat, 3 Jun 2023 00:52:22 -0300 Subject: [PATCH] Update README.md fix order in code ;) function createProduct(ProductConfig $config): void { // ... } --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index d501f43..d58f1bf 100644 --- a/README.md +++ b/README.md @@ -354,13 +354,13 @@ class ProductConfig } } -$config = new ProductConfig('foo', 'bar', 10.0, 100); -createProduct($config); - function createProduct(ProductConfig $config): void { // ... } + +$config = new ProductConfig('foo', 'bar', 10.0, 100); +createProduct($config); ``` **[⬆ Volver](#tabla-de-contenidos)**