up. 优化代码内容

This commit is contained in:
扶桑花间 2025-08-29 23:54:17 +08:00
parent e3f1457b61
commit bed013d629

View File

@ -20,7 +20,7 @@ class OutMessage
if (is_array($event) && count($event) == 3) { if (is_array($event) && count($event) == 3) {
$this->type = $event[0]; $this->type = $event[0];
$this->event = $event[1]; $this->event = $event[1];
$this->data = $data; $this->data = $event[2];
return; return;
} else if ($event instanceof ScriptEnum) { } else if ($event instanceof ScriptEnum) {
$this->type = 'script'; $this->type = 'script';