Skip to content

Commit e4e00c1

Browse files
authored
Update src/Writer.php
1 parent 1c4abf6 commit e4e00c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/Writer.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class Writer
2020
/**
2121
* Convert OpenAPI spec object to JSON data.
2222
* @param SpecObjectInterface|OpenApi $object the OpenApi object instance.
23-
* @param int $flags json_encode() flags
23+
* @param int $flags json_encode() flags. Parameter available since version 1.7.0.
2424
* @return string JSON string.
2525
*/
2626
public static function writeToJson(SpecObjectInterface $object, int $flags = JSON_PRETTY_PRINT | JSON_UNESCAPED_UNICODE): string

0 commit comments

Comments
 (0)