diff options
author | Andrew Dolgov <[email protected]> | 2022-07-31 13:55:09 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2022-07-31 13:55:09 +0300 |
commit | 26c67dba776e1e6f8ac40eed70fe79995325863d (patch) | |
tree | 862b043fa666e44ed0b2c997a98b1a256b26ee12 /vendor/thecodingmachine/safe/generated/json.php | |
parent | d5c043e8467881c00b2cd836f2f37b8479cf0b96 (diff) |
update phpstan to 1.8.2
Diffstat (limited to 'vendor/thecodingmachine/safe/generated/json.php')
-rw-r--r-- | vendor/thecodingmachine/safe/generated/json.php | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/vendor/thecodingmachine/safe/generated/json.php b/vendor/thecodingmachine/safe/generated/json.php index 76fc6c17e..e524c6178 100644 --- a/vendor/thecodingmachine/safe/generated/json.php +++ b/vendor/thecodingmachine/safe/generated/json.php @@ -6,7 +6,12 @@ use Safe\Exceptions\JsonException; /** * Returns a string containing the JSON representation of the supplied - * value. + * value. If the parameter is an array or object, + * it will be serialized recursively. + * + * If a value to be serialized is an object, then by default only publicly visible + * properties will be included. Alternatively, a class may implement JsonSerializable + * to control how its values are serialized to JSON. * * The encoding is affected by the supplied flags * and additionally the encoding of float values depends on the value of |