改名
This commit is contained in:
@@ -10,16 +10,16 @@ namespace Snowflake\Events;
|
|||||||
class Struct
|
class Struct
|
||||||
{
|
{
|
||||||
|
|
||||||
public string $event;
|
public string $event;
|
||||||
|
|
||||||
public \Closure $listener;
|
public array|\Closure $listener;
|
||||||
|
|
||||||
public int $priority;
|
public int $priority;
|
||||||
|
|
||||||
public function __construct(string $event, callable $listener, int $priority)
|
public function __construct(string $event, callable $listener, int $priority)
|
||||||
{
|
{
|
||||||
$this->event = $event;
|
$this->event = $event;
|
||||||
$this->listener = $listener;
|
$this->listener = $listener;
|
||||||
$this->priority = $priority;
|
$this->priority = $priority;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user