eee
This commit is contained in:
@@ -16,6 +16,12 @@ class Struct
|
|||||||
|
|
||||||
public int $priority;
|
public int $priority;
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param string $event
|
||||||
|
* @param array|\Closure|string $listener
|
||||||
|
* @param int $priority
|
||||||
|
*/
|
||||||
public function __construct(string $event, array|\Closure|string $listener, int $priority)
|
public function __construct(string $event, array|\Closure|string $listener, int $priority)
|
||||||
{
|
{
|
||||||
$this->event = $event;
|
$this->event = $event;
|
||||||
|
|||||||
+4
-1
@@ -6,7 +6,10 @@ class TestListener implements EventInterface
|
|||||||
{
|
{
|
||||||
|
|
||||||
|
|
||||||
public function process()
|
/**
|
||||||
|
* @return void
|
||||||
|
*/
|
||||||
|
public function process(): void
|
||||||
{
|
{
|
||||||
// TODO: Implement process() method.
|
// TODO: Implement process() method.
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user