From 409834c7e23a49d8837bad0081515b7b6bd385aa Mon Sep 17 00:00:00 2001 From: david Date: Tue, 4 Oct 2022 12:13:12 +0800 Subject: [PATCH] fixed --- src/Reseed/AutoReseed.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Reseed/AutoReseed.php b/src/Reseed/AutoReseed.php index aa2ef57..8743fbf 100644 --- a/src/Reseed/AutoReseed.php +++ b/src/Reseed/AutoReseed.php @@ -1047,13 +1047,13 @@ class AutoReseed /** * @brief 添加下载任务 - * @param int $clientKey + * @param string $clientKey * @param string $torrent 种子元数据 * @param string $save_path 保存路径 * @param array $extra_options * @return bool */ - protected static function add(int $clientKey, string $torrent, string $save_path = '', array $extra_options = array()): bool + protected static function add(string $clientKey, string $torrent, string $save_path = '', array $extra_options = array()): bool { try { $is_url = static::isTorrentUrl($torrent);