From 1ae2bafeee292f1793b51d80dfe4d5acb733aaa8 Mon Sep 17 00:00:00 2001 From: fadrian06 Date: Sat, 15 Aug 2026 14:22:07 -0400 Subject: [PATCH] deprecate Dispatcher events property --- flight/core/Dispatcher.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/flight/core/Dispatcher.php b/flight/core/Dispatcher.php index f986f07..ed218f7 100644 --- a/flight/core/Dispatcher.php +++ b/flight/core/Dispatcher.php @@ -29,7 +29,10 @@ class Dispatcher protected ?Throwable $containerException = null; protected ?Engine $engine = null; - /** @var array */ + /** + * @deprecated Don't use this property directly, use `set()`, `get()` and `has()` instead. + * @var array + */ protected array $events = []; /**