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:
@@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user