From 26c67dba776e1e6f8ac40eed70fe79995325863d Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sun, 31 Jul 2022 13:55:09 +0300 Subject: update phpstan to 1.8.2 --- vendor/thecodingmachine/safe/generated/json.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'vendor/thecodingmachine/safe/generated/json.php') 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 -- cgit v1.2.3-54-g00ecf