From 7beabae36da313230e54fe4f0cbd78031e513fd0 Mon Sep 17 00:00:00 2001 From: fadrian06 Date: Sat, 15 Aug 2026 09:26:47 -0400 Subject: [PATCH] improve Dispatcher description to reflect its responsibility for dispatching named callables --- flight/core/Dispatcher.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/flight/core/Dispatcher.php b/flight/core/Dispatcher.php index 22f59bf..f986f07 100644 --- a/flight/core/Dispatcher.php +++ b/flight/core/Dispatcher.php @@ -13,10 +13,10 @@ use Throwable; use TypeError; /** - * The Dispatcher class is responsible for dispatching events. Events - * are simply aliases for class methods or functions. The Dispatcher - * allows you to hook other functions to an event that can modify the - * input parameters and/or the output. + * Responsible for dispatching named callables. + * + * The Dispatcher allows you to hook others callables that can modify the named + * callable arguments and/or its return value. * * @license MIT, http://flightphp.com/license * @copyright Copyright (c) 2011, Mike Cao