separate bot action method to BotActionTrait

This commit is contained in:
crazywhalecc
2022-12-30 16:13:25 +08:00
parent b86f51ab46
commit dfcb8a4550
5 changed files with 94 additions and 55 deletions

View File

@@ -8,7 +8,9 @@ class ZMUtil
{
/**
* 获取 composer.json 并转为数组进行读取使用
* @param null|string $path 路径
*
* @param null|string $path 路径
* @throws \JsonException
*/
public static function getComposerMetadata(?string $path = null): ?array
{