better singleton instance
This commit is contained in:
@@ -23,7 +23,7 @@ class Site
|
||||
public static function getInstance(): Site
|
||||
{
|
||||
if (self::$instance === null) {
|
||||
self::$instance = new self();
|
||||
self::$instance = new self([]);
|
||||
}
|
||||
return self::$instance;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user