fix phpstan message about Dispatcher@get return type

dispatcher-rework
fadrian06 3 days ago
parent bdd5bdcc24
commit e48b976aac

@ -247,7 +247,7 @@ class Dispatcher
$filteredCallable = $this->get($name); $filteredCallable = $this->get($name);
if ($filteredCallable) { if ($filteredCallable instanceof FilteredCallable) {
if ($type === self::FILTER_BEFORE) { if ($type === self::FILTER_BEFORE) {
$filteredCallable->pushBeforeFilter($callback); $filteredCallable->pushBeforeFilter($callback);
} }

Loading…
Cancel
Save