Skip to content

Commit d5c97a0

Browse files
committed
minor #11424 fix (serializer): invert xml and yaml bloc descriptions (GregoireHebert)
This PR was submitted for the 4.2 branch but it was merged into the 3.4 branch instead (closes #11424). Discussion ---------- fix (serializer): invert xml and yaml bloc descriptions Commits ------- 508a186 fix (serializer): invert xml and yaml bloc descriptions
2 parents 90797c3 + 508a186 commit d5c97a0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/serializer.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -258,14 +258,14 @@ for each format:
258258

259259
$classMetadataFactory = new ClassMetadataFactory(new AnnotationLoader(new AnnotationReader()));
260260

261-
* XML files::
261+
* YAML files::
262262

263263
use Symfony\Component\Serializer\Mapping\Factory\ClassMetadataFactory;
264264
use Symfony\Component\Serializer\Mapping\Loader\YamlFileLoader;
265265

266266
$classMetadataFactory = new ClassMetadataFactory(new YamlFileLoader('/path/to/your/definition.yml'));
267267

268-
* YAML files::
268+
* XML files::
269269

270270
use Symfony\Component\Serializer\Mapping\Factory\ClassMetadataFactory;
271271
use Symfony\Component\Serializer\Mapping\Loader\XmlFileLoader;

0 commit comments

Comments
 (0)