phpstan fix

This commit is contained in:
crazywhalecc
2025-10-20 13:43:05 +08:00
parent 5e229a0b01
commit f8801e224f
2 changed files with 1 additions and 2 deletions

View File

@@ -668,7 +668,7 @@ class Downloader
]);
break;
case 'custom': // Custom download method, like API-based download or other
if (isset($conf['func']) && is_callable($conf['func'])) {
if (isset($conf['func'])) {
$conf['name'] = $name;
$conf['func']($force, $conf, $download_as);
break;