From 72882b24deae6c37e6b5d0ff593d625432d5e36d Mon Sep 17 00:00:00 2001 From: fadrian06 Date: Tue, 6 Feb 2024 20:33:08 -0400 Subject: [PATCH] Without parentheses, it was interpreting Closure(): (void|mixed|callable) --- flight/core/Dispatcher.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flight/core/Dispatcher.php b/flight/core/Dispatcher.php index 9fd8d1e..d91b4b2 100644 --- a/flight/core/Dispatcher.php +++ b/flight/core/Dispatcher.php @@ -78,7 +78,7 @@ class Dispatcher * Assigns a callback to an event. * * @param string $name Event name - * @param Closure(): (void|mixed)|callable $callback Callback function + * @param Closure(): (void|mixed) $callback Callback function * * @return $this */