diff options
| author | Daniel Weipert <git@mail.dweipert.de> | 2025-09-11 13:19:21 +0200 |
|---|---|---|
| committer | Daniel Weipert <git@mail.dweipert.de> | 2025-09-11 13:19:21 +0200 |
| commit | b1b101fd98c8b4354a4e0c73e867d817466de30e (patch) | |
| tree | 763e6d3dab13a2af8c324f7f879c5874dced76f2 /src/Singleton.php | |
| parent | db014ebf9f8f84a1a0d0972298e70bf29e57c37e (diff) | |
sync, rooms, events, etc
Diffstat (limited to 'src/Singleton.php')
| -rw-r--r-- | src/Singleton.php | 4 |
1 files changed, 2 insertions, 2 deletions
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; |
