From db02086d216c35f05fdf88103dcc7a874e8a501c Mon Sep 17 00:00:00 2001 From: fadrian06 Date: Thu, 1 Feb 2024 20:31:09 -0400 Subject: [PATCH] Improved Dispatcher::set docblock --- flight/core/Dispatcher.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/flight/core/Dispatcher.php b/flight/core/Dispatcher.php index 7be4035..a0f24aa 100644 --- a/flight/core/Dispatcher.php +++ b/flight/core/Dispatcher.php @@ -76,8 +76,8 @@ class Dispatcher /** * Assigns a callback to an event. * - * @param string $name Event name - * @param callable $callback Callback function + * @param string $name Event name + * @param Closure(): (void|mixed) $callback Callback function * * @return $this */