From d241cb993ec04e328fe6c1558ec2221dc01871cc Mon Sep 17 00:00:00 2001 From: crazywhalecc Date: Sun, 18 Feb 2024 14:05:15 +0800 Subject: [PATCH] fix --- src/SPC/util/ConfigValidator.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/SPC/util/ConfigValidator.php b/src/SPC/util/ConfigValidator.php index ba1d6815..924c1b0c 100644 --- a/src/SPC/util/ConfigValidator.php +++ b/src/SPC/util/ConfigValidator.php @@ -71,8 +71,11 @@ class ConfigValidator is_array($data) || throw new ValidationException('ext.json is broken'); } + /** + * @throws ValidationException + */ public static function validatePkgs(mixed $data): void { - is_array($data) || throw new \_PHPStan_c997ea9ee\Nette\Schema\ValidationException('pkg.json is broken'); + is_array($data) || throw new ValidationException('pkg.json is broken'); } }