update api docs

This commit is contained in:
Github Build Bot
2022-04-02 11:37:16 +00:00
parent daa1822bc5
commit ff0f11da7f
7 changed files with 69 additions and 68 deletions

View File

@@ -3,7 +3,7 @@
## yieldByWS
```php
public function yieldByWS(int $timeout, array $hang, array $compare): mixed
public function yieldByWS(array $hang, array $compare, int $timeout): mixed
```
### 描述
@@ -14,9 +14,9 @@ public function yieldByWS(int $timeout, array $hang, array $compare): mixed
| 名称 | 类型 | 描述 |
| -------- | ---- | ----------- |
| timeout | int | |
| hang | array | |
| compare | array | |
| timeout | int | |
### 返回

View File

@@ -20,7 +20,7 @@ public function getConfiguredModules(): array
## packModule
```php
public function packModule(mixed $module): bool
public function packModule(array $module, string $target): bool
```
### 描述
@@ -31,7 +31,8 @@ public function packModule(mixed $module): bool
| 名称 | 类型 | 描述 |
| -------- | ---- | ----------- |
| module | mixed | |
| module | array | 模块信息 |
| target | string | 目标路径 |
### 返回

View File

@@ -3,7 +3,7 @@
## downloadCQImage
```php
public function downloadCQImage(mixed $msg, null $path): array|false
public function downloadCQImage(mixed $msg, string $path): array|false
```
### 描述
@@ -15,7 +15,7 @@ public function downloadCQImage(mixed $msg, null $path): array|false
| 名称 | 类型 | 描述 |
| -------- | ---- | ----------- |
| msg | mixed | |
| path | null | |
| path | string | |
### 返回