1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-08 06:06:45 +02:00

refactor(json): fix PHPDoc tag @throws with type Flextype\Support\Serializers\ParseException is not subtype of Throwable

This commit is contained in:
Awilum
2021-01-13 12:20:06 +03:00
parent 8d500d9a08
commit 202ad75482

View File

@@ -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)
{