From b0393023c970c2e6aa7989e3dacf48f8531f175a Mon Sep 17 00:00:00 2001 From: Imants Horsts Date: Fri, 31 Mar 2023 19:09:11 +0300 Subject: [PATCH] Fix example code in readme (#2024) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 54b9e5405c..6c09636c54 100644 --- a/README.md +++ b/README.md @@ -81,7 +81,7 @@ To get most of ATK UI, use [ATK Data](https://github.com/atk4/data) to describe [Crud](https://ui.agiletoolkit.org/demos/crud.php) is a fully-interractive component that supports pagination, reloading, conditions, data formatting, sorting, quick-search, ordering, custom actions and modals, but at the same time is very easy to use: ``` php -$app = new \Atk4\Ui\App('hello world'); +$app = new \Atk4\Ui\App(['title' => 'hello world']); $app->initLayout([\Atk4\Ui\Layout\Admin::class]); $app->db = \Atk4\Data\Persistence::connect('mysql://user:pass@localhost/atk');