diff --git a/EventDispatch.php b/EventDispatch.php index a0fe369..d159c49 100644 --- a/EventDispatch.php +++ b/EventDispatch.php @@ -4,6 +4,8 @@ namespace Kiri\Events; use Kiri\Abstracts\Component; use Kiri; +use Psr\Container\ContainerExceptionInterface; +use Psr\Container\NotFoundExceptionInterface; use Psr\EventDispatcher\EventDispatcherInterface; use Psr\EventDispatcher\StoppableEventInterface; @@ -18,7 +20,8 @@ class EventDispatch extends Component implements EventDispatcherInterface /** * @param object $event * @return object - * @throws \ReflectionException + * @throws ContainerExceptionInterface + * @throws NotFoundExceptionInterface */ public function dispatch(object $event): object {