mirror of
https://github.com/zhamao-robot/zhamao-framework.git
synced 2026-07-21 15:45:36 +08:00
update api docs
This commit is contained in:
@@ -110,7 +110,7 @@ public function registerServerEvents(): mixed
|
||||
## parseCliArgs
|
||||
|
||||
```php
|
||||
public function parseCliArgs(mixed $args, mixed $add_port): mixed
|
||||
public function parseCliArgs(array $args, bool|string $add_port): mixed
|
||||
```
|
||||
|
||||
### 描述
|
||||
@@ -121,8 +121,8 @@ public function parseCliArgs(mixed $args, mixed $add_port): mixed
|
||||
|
||||
| 名称 | 类型 | 描述 |
|
||||
| -------- | ---- | ----------- |
|
||||
| args | mixed | |
|
||||
| add_port | mixed | |
|
||||
| args | array | 命令行参数 |
|
||||
| add_port | bool|string | 是否添加端口号 |
|
||||
|
||||
### 返回
|
||||
|
||||
|
||||
Reference in New Issue
Block a user