1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-09 14:46:53 +02:00

fix(serializers): fix PHPDoc tag @param references unknown parameter for JSON

This commit is contained in:
Awilum
2021-08-09 19:28:25 +03:00
parent f3def1ad0e
commit 7ea6fcb9e8

View File

@@ -61,11 +61,7 @@ class Json
* Takes a JSON encoded string and converts it into a PHP variable.
*
* @param string $input A string containing JSON
* @param bool $cache Cache result data or no. Default is true
* @param bool $assoc Decode assoc. When TRUE, returned objects will be converted into associative arrays.
* @param int $depth Decode Depth. Set the maximum depth. Must be greater than zero.
* @param int $flags Bitmask consisting of decode options
*
*
* @return mixed The JSON converted to a PHP value
*
* @throws RuntimeException If the JSON is not valid