From e4e00c19800e99ca4a8fbb3516e16b702147e4c7 Mon Sep 17 00:00:00 2001 From: Carsten Brandt Date: Wed, 20 Apr 2022 16:40:19 +0200 Subject: [PATCH] Update src/Writer.php --- src/Writer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Writer.php b/src/Writer.php index ad29c69..faa08f4 100644 --- a/src/Writer.php +++ b/src/Writer.php @@ -20,7 +20,7 @@ class Writer /** * Convert OpenAPI spec object to JSON data. * @param SpecObjectInterface|OpenApi $object the OpenApi object instance. - * @param int $flags json_encode() flags + * @param int $flags json_encode() flags. Parameter available since version 1.7.0. * @return string JSON string. */ public static function writeToJson(SpecObjectInterface $object, int $flags = JSON_PRETTY_PRINT | JSON_UNESCAPED_UNICODE): string