From 202ad75482f93f66347ba43b2028732c25acac06 Mon Sep 17 00:00:00 2001 From: Awilum Date: Wed, 13 Jan 2021 12:20:06 +0300 Subject: [PATCH] refactor(json): fix PHPDoc tag @throws with type Flextype\Support\Serializers\ParseException is not subtype of Throwable --- src/flextype/Support/Serializers/Json.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/flextype/Support/Serializers/Json.php b/src/flextype/Support/Serializers/Json.php index 673789e2..4f43e9ce 100644 --- a/src/flextype/Support/Serializers/Json.php +++ b/src/flextype/Support/Serializers/Json.php @@ -66,7 +66,7 @@ class Json * * @return mixed The JSON converted to a PHP value * - * @throws ParseException If the JSON is not valid + * @throws RuntimeException If the JSON is not valid */ public function decode(string $input, bool $cache = true, bool $assoc = true, int $depth = 512, int $flags = 0) {