unrelated cs-fix

This commit is contained in:
henderkes
2026-04-30 19:33:00 +07:00
parent d774fda15d
commit d19930a8e2
2 changed files with 3 additions and 3 deletions

View File

@@ -14,9 +14,9 @@ use SPC\builder\Extension;
*/ */
class ValidationException extends SPCException class ValidationException extends SPCException
{ {
private null|array|string $validation_module = null; private array|string|null $validation_module = null;
public function __construct(string $message = '', int $code = 0, ?\Throwable $previous = null, null|array|string $validation_module = null) public function __construct(string $message = '', int $code = 0, ?\Throwable $previous = null, array|string|null $validation_module = null)
{ {
parent::__construct($message, $code, $previous); parent::__construct($message, $code, $previous);

View File

@@ -117,7 +117,7 @@ class LicenseDumper
/** /**
* Loads a source license file from the specified path. * 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)) { if (is_null($in_path)) {
throw new SPCInternalException("source [{$source_name}] license file is not set, please check config/source.json"); throw new SPCInternalException("source [{$source_name}] license file is not set, please check config/source.json");