Skip to content

Commit b2bd882

Browse files
committed
[Serializer] use the injected YAML parser
1 parent 5057006 commit b2bd882

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Encoder/YamlEncoder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public function decode($data, $format, array $context = array())
6060
{
6161
$context = array_merge($this->defaultContext, $context);
6262

63-
return Yaml::parse($data, $context['yaml_flags']);
63+
return $this->parser->parse($data, $context['yaml_flags']);
6464
}
6565

6666
/**

0 commit comments

Comments
 (0)