Rewrites and Formatting

This commit is contained in:
2024-07-22 03:34:56 +02:00
parent 3e22aaf30c
commit 20db2301cb
10 changed files with 28 additions and 56 deletions
+3 -1
View File
@@ -2,6 +2,8 @@
namespace Config;
use Exception;
class Config
{
private static array $instances = [];
@@ -21,7 +23,7 @@ class Config
public function __wakeup()
{
throw new \Exception("Cannot unserialize a singleton.");
throw new Exception("Cannot unserialize a singleton.");
}
private static function getInstance(): Config