deprecate Dispatcher filters property

dispatcher-rework
fadrian06 3 days ago
parent 1ae2bafeee
commit 318852b19b

@ -36,9 +36,10 @@ class Dispatcher
protected array $events = []; protected array $events = [];
/** /**
* @deprecated Don't use this property, use `hook()` instead.
* @var array<string, array{ * @var array<string, array{
* before?: (callable(mixed[] &$params, mixed &$output): (void|false))[], * before?: (callable(mixed[] &$params, mixed &$output): (void|never|false))[],
* after?: (callable(mixed[] &$params, mixed &$output): (void|false))[], * after?: (callable(mixed[] &$params, mixed &$output): (void|never|false))[],
* }> * }>
*/ */
protected array $filters = []; protected array $filters = [];

Loading…
Cancel
Save