From 69c78d42f3e6aa4950ed95b541174de297695acf Mon Sep 17 00:00:00 2001 From: Lkeme <19500576+lkeme@users.noreply.github.com> Date: Thu, 8 May 2025 12:41:04 +0800 Subject: [PATCH] [fix] composer.json does not match the expected JSON schema --- composer.json | 2 +- profile/example/config/user.ini | 2 +- profile/example/device/device.yaml | 6 +++--- src/Util/Resource/Collection.php | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/composer.json b/composer.json index 0b41215..054c5a8 100644 --- a/composer.json +++ b/composer.json @@ -2,7 +2,7 @@ "name": "lkeme/bilihelper-personal", "description": "B 站自动领瓜子、直播助手、直播挂机脚本、主站助手 - PHP 版(Personal)", "type": "project", - "version": "2.*.*-dev", + "version": "2.4.x-dev", "minimum-stability": "stable", "license": "MIT", "authors": [ diff --git a/profile/example/config/user.ini b/profile/example/config/user.ini index 7f0d038..6eca69c 100644 --- a/profile/example/config/user.ini +++ b/profile/example/config/user.ini @@ -219,7 +219,7 @@ proxy = "http://127.0.0.1:8888" ; 是否使用自定义Github File Mirror/默认使用官方源 [network_github] enable = true -mirror = "https://hub.gitmirror.com/" +mirror = "https://ghfast.top/" ####################### # 程序设置 # diff --git a/profile/example/device/device.yaml b/profile/example/device/device.yaml index 3fae873..39eab32 100644 --- a/profile/example/device/device.yaml +++ b/profile/example/device/device.yaml @@ -3,8 +3,8 @@ device_version: 0.0.1 app: bili_a: # Android package: "tv.danmaku.bili" - version: "8.33.0" - build: "8330200" + version: "8.44.0" + build: "8440300" channel: "bili" device: "phone" mobi_app: "android" @@ -15,7 +15,7 @@ app: secret_key: "NTYwYzUyY2NkMjg4ZmVkMDQ1ODU5ZWQxOGJmZmQ5NzM" app_key_n: "NzgzYmJiNzI2NDQ1MWQ4Mg==" secret_key_n: "MjY1MzU4M2M4ODczZGVhMjY4YWI5Mzg2OTE4YjFkNjU=" - statistics: '{"appId":1,"platform":3,"version":"8.33.0","abtest":""}' + statistics: '{"appId":1,"platform":3,"version":"8.44.0","abtest":""}' bili_i: # IOS app_key: "MjdlYjUzZmM5MDU4ZjhjMw==" secret_key: "YzJlZDUzYTc0ZWVlZmUzY2Y5OWZiZDAxZDhjOWMzNzU=" diff --git a/src/Util/Resource/Collection.php b/src/Util/Resource/Collection.php index 848c3d2..7b5d49c 100644 --- a/src/Util/Resource/Collection.php +++ b/src/Util/Resource/Collection.php @@ -66,7 +66,7 @@ class Collection extends \Toolkit\Stdlib\Std\Collection * * @return mixed */ - public function set(string $key, mixed $value): self + public function set(string $key, mixed $value): static { if ($this->keyPathSep && strpos($key, $this->keyPathSep) > 0) { Arr::setByPath($this->data, $key, $value, $this->keyPathSep);