eee
This commit is contained in:
+5
-4
@@ -5,9 +5,10 @@ namespace Kiri\Events;
|
|||||||
interface EventInterface
|
interface EventInterface
|
||||||
{
|
{
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return void
|
* @param object $event
|
||||||
*/
|
* @return void
|
||||||
public function process(): void;
|
*/
|
||||||
|
public function process(object $event): void;
|
||||||
|
|
||||||
}
|
}
|
||||||
+5
-4
@@ -6,10 +6,11 @@ class TestListener implements EventInterface
|
|||||||
{
|
{
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return void
|
* @param object $event
|
||||||
*/
|
* @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