fix linter in CI

This commit is contained in:
henderkes
2026-05-04 20:06:48 +07:00
parent 6557fc9d7e
commit c5edacd8bf
3 changed files with 94 additions and 21 deletions

View File

@@ -117,7 +117,7 @@ class LicenseDumper
/**
* Loads a source license file from the specified path.
*/
private function loadSourceFile(string $source_name, int $index, null|array|string $in_path, ?string $custom_base_path = null): string
private function loadSourceFile(string $source_name, int $index, array|string|null $in_path, ?string $custom_base_path = null): string
{
if (is_null($in_path)) {
throw new SPCInternalException("source [{$source_name}] license file is not set, please check config/source.json");