Skip to content

Commit b4273c3

Browse files
committed
Remove changes
1 parent 2b2953c commit b4273c3

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Writer.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,7 @@ public static function writeToYaml(SpecObjectInterface $object): string
3636
{
3737
// return Yaml::dump($object->getSerializableData(), 256, 2, Yaml::DUMP_OBJECT_AS_MAP | Yaml::DUMP_EMPTY_ARRAY_AS_SEQUENCE);
3838
return yaml_emit(
39-
json_decode(json_encode($object->getSerializableData(), JSON_FORCE_OBJECT), true),
40-
YAML_UTF8_ENCODING
39+
json_decode(json_encode($object->getSerializableData()), true)
4140
);
4241
}
4342

0 commit comments

Comments
 (0)