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
+5 -4
View File
@@ -5,9 +5,10 @@ namespace Kiri\Events;
interface EventInterface
{
/**
* @return void
*/
public function process(): void;
/**
* @param object $event
* @return void
*/
public function process(object $event): void;
}
+5 -4
View File
@@ -6,10 +6,11 @@ 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.
}