better singleton instance

This commit is contained in:
2025-05-07 20:32:49 -07:00
parent 60a0472e53
commit 642242511e

View File

@@ -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;
}