Skip to content

Commit 68973f7

Browse files
committed
Merge branch '4.2'
* 4.2: fix (serializer): invert xml and yaml bloc descriptions
2 parents 7422020 + a07c50d commit 68973f7

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
@@ -270,14 +270,14 @@ for each format:
270270

271271
$classMetadataFactory = new ClassMetadataFactory(new AnnotationLoader(new AnnotationReader()));
272272

273-
* XML files::
273+
* YAML files::
274274

275275
use Symfony\Component\Serializer\Mapping\Factory\ClassMetadataFactory;
276276
use Symfony\Component\Serializer\Mapping\Loader\YamlFileLoader;
277277

278278
$classMetadataFactory = new ClassMetadataFactory(new YamlFileLoader('/path/to/your/definition.yaml'));
279279

280-
* YAML files::
280+
* XML files::
281281

282282
use Symfony\Component\Serializer\Mapping\Factory\ClassMetadataFactory;
283283
use Symfony\Component\Serializer\Mapping\Loader\XmlFileLoader;

0 commit comments

Comments
 (0)