From d94947473749d877f47c24b26d73ed2d4df49b60 Mon Sep 17 00:00:00 2001 From: ghost Date: Mon, 25 Sep 2023 00:35:16 +0300 Subject: [PATCH] force object return --- src/library/environment.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/library/environment.php b/src/library/environment.php index 8d85b41..b85516d 100644 --- a/src/library/environment.php +++ b/src/library/environment.php @@ -18,7 +18,7 @@ class Environment } } - return json_decode( + return (object) json_decode( file_get_contents( $config )