Rewrites and Formatting
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user