From 084959dab42a8c726d03bee2d6988fac9d93c9bb Mon Sep 17 00:00:00 2001 From: Awilum Date: Wed, 13 Jan 2021 12:25:36 +0300 Subject: [PATCH] refactor(yaml): fix PHPDoc tag @throws with type Flextype\Support\Serializers\ParseException is not subtype of Throwable --- src/flextype/Support/Serializers/Yaml.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/flextype/Support/Serializers/Yaml.php b/src/flextype/Support/Serializers/Yaml.php index 0b3ca84d..1f636c12 100644 --- a/src/flextype/Support/Serializers/Yaml.php +++ b/src/flextype/Support/Serializers/Yaml.php @@ -80,7 +80,7 @@ class Yaml * * @return mixed The YAML converted to a PHP value * - * @throws ParseException If the YAML is not valid + * @throws RuntimeException If the YAML is not valid */ public function decode(string $input, bool $cache = true, int $flags = 0): array {