modify plugin name

This commit is contained in:
2022-06-16 18:13:27 +08:00
parent a44cfb70b1
commit 38f6830190
2 changed files with 9 additions and 5 deletions
+2 -2
View File
@@ -12,11 +12,11 @@ class Struct
public string $event;
public array|\Closure $listener;
public array|\Closure|string $listener;
public int $priority;
public function __construct(string $event, callable $listener, int $priority)
public function __construct(string $event, array|\Closure|string $listener, int $priority)
{
$this->event = $event;
$this->listener = $listener;