inc/integrations/Umami.php
@@ -35,7 +35,17 @@ private string $events_table; private string $metrics_table; public function __construct(?int $userID = null) protected static array $instances = []; public static function getInstance(?int $userID = null):self { $key = is_null($userID) ? 'base' : $userID; if (!array_key_exists($key, self::$instances)) { self::$instances[$key] = new static($userID); } return self::$instances[$key]; } protected function __construct(?int $userID = null) { $this->service_name = 'umami'; $this->title = 'Umami.js';