This commit is contained in:
2026-01-09 01:06:50 +08:00
parent 846e195efa
commit c08c1731d1
2 changed files with 15 additions and 13 deletions
+2 -1
View File
@@ -6,8 +6,9 @@ interface EventInterface
{ {
/** /**
* @param object $event
* @return void * @return void
*/ */
public function process(): void; public function process(object $event): void;
} }
+2 -1
View File
@@ -7,9 +7,10 @@ class TestListener implements EventInterface
/** /**
* @param object $event
* @return void * @return void
*/ */
public function process(): void public function process(object $event): void
{ {
// TODO: Implement process() method. // TODO: Implement process() method.
} }