From 8d29ad4fd005e6f2cf46ff7b33ebaa3a591e77c2 Mon Sep 17 00:00:00 2001 From: fadrian06 Date: Sun, 16 Aug 2026 01:47:07 -0400 Subject: [PATCH] remove reduntant EventDispatcher@getInstance description --- flight/core/EventDispatcher.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/flight/core/EventDispatcher.php b/flight/core/EventDispatcher.php index 98e79fb..1c84d26 100644 --- a/flight/core/EventDispatcher.php +++ b/flight/core/EventDispatcher.php @@ -11,16 +11,12 @@ class EventDispatcher /** @var array */ protected array $listeners = []; - /** - * Singleton instance of the EventDispatcher. - * - * @return self - */ public static function getInstance(): self { if (self::$instance === null) { self::$instance = new self(); } + return self::$instance; }