From b1b101fd98c8b4354a4e0c73e867d817466de30e Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Thu, 11 Sep 2025 13:19:21 +0200 Subject: sync, rooms, events, etc --- src/Singleton.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/Singleton.php') diff --git a/src/Singleton.php b/src/Singleton.php index 864da59..3238248 100644 --- a/src/Singleton.php +++ b/src/Singleton.php @@ -6,10 +6,10 @@ trait Singleton { private static self $instance; - public static function getInstance(): self + public static function getInstance(): static { if (! isset(self::$instance)) { - self::$instance = new self(); + self::$instance = new static(); } return self::$instance; -- cgit v1.2.3