From 7dbcec457e30a1c268990e32fd463e463a5749f3 Mon Sep 17 00:00:00 2001 From: Julian Gojani Date: Sun, 24 Jul 2022 18:57:21 +0200 Subject: [PATCH] Updated library versions and more --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 2d81354..6bb19ca 100644 --- a/README.md +++ b/README.md @@ -36,16 +36,16 @@ class App extends WebApplication { self::setInstance( (new self())->start($environment) ); } - public function init(){ + public function init() : void { $this->getConfig() ->loadENVFile(".env"); // A ulole-framework helper for UloleORM::database("main", new Database(...)) $this->initDatabase(/*Config prefix*/ "database", "main"); - UloleORM::register("user", User::class); + UloleORM::register(User::class); } - public function run() { + public function run() : void { $this->getRouter() ->get("/user/(\d+)", function($req, $res, int $userId){ $res->json([