Improved Dispatcher::set docblock

pull/538/head
fadrian06 12 months ago
parent 31c690d17b
commit db02086d21

@ -76,8 +76,8 @@ class Dispatcher
/** /**
* Assigns a callback to an event. * Assigns a callback to an event.
* *
* @param string $name Event name * @param string $name Event name
* @param callable $callback Callback function * @param Closure(): (void|mixed) $callback Callback function
* *
* @return $this * @return $this
*/ */

Loading…
Cancel
Save