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 */