mirror of
https://github.com/zhamao-robot/zhamao-framework.git
synced 2026-07-21 15:45:36 +08:00
separate bot action method to BotActionTrait
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user