From c08c1731d1b7161b624a89a28a915c613c43243b Mon Sep 17 00:00:00 2001 From: whwyy Date: Fri, 9 Jan 2026 01:06:50 +0800 Subject: [PATCH] eee --- EventInterface.php | 13 +++++++------ TestListener.php | 15 ++++++++------- 2 files changed, 15 insertions(+), 13 deletions(-) diff --git a/EventInterface.php b/EventInterface.php index 89e2e60..61d90b6 100644 --- a/EventInterface.php +++ b/EventInterface.php @@ -4,10 +4,11 @@ namespace Kiri\Events; interface EventInterface { + + /** + * @param object $event + * @return void + */ + public function process(object $event): void; - /** - * @return void - */ - public function process(): void; - -} \ No newline at end of file +} diff --git a/TestListener.php b/TestListener.php index 695e6ea..18880b8 100644 --- a/TestListener.php +++ b/TestListener.php @@ -4,14 +4,15 @@ namespace Kiri\Events; class TestListener implements EventInterface { - - - /** - * @return void - */ - public function process(): void + + + /** + * @param object $event + * @return void + */ + public function process(object $event): void { // TODO: Implement process() method. } -} \ No newline at end of file +}