eee
This commit is contained in:
+2
-1
@@ -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
@@ -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.
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user