From 5089a8cc8a044ef4766eab9029726ad5c2f0adf6 Mon Sep 17 00:00:00 2001 From: grandeljay Date: Mon, 5 Dec 2022 10:01:44 +0100 Subject: [PATCH] Fix Typed property wishthis\User::$language must not be accessed before initialization --- src/classes/user.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/classes/user.php b/src/classes/user.php index 9b16254f..18cf920e 100644 --- a/src/classes/user.php +++ b/src/classes/user.php @@ -44,7 +44,7 @@ class User /** * Private */ - private string $language; + private string $language = DEFAULT_LOCALE; private string $currency; /**