mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-02 14:25:41 +08:00
fix
This commit is contained in:
@@ -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');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user