Skip to content

Commit a07c50d

Browse files
committed
Merge branch '3.4' into 4.2
* 3.4: fix (serializer): invert xml and yaml bloc descriptions
2 parents 2d66d80 + d5c97a0 commit a07c50d

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

255255
$classMetadataFactory = new ClassMetadataFactory(new AnnotationLoader(new AnnotationReader()));
256256

257-
* XML files::
257+
* YAML files::
258258

259259
use Symfony\Component\Serializer\Mapping\Factory\ClassMetadataFactory;
260260
use Symfony\Component\Serializer\Mapping\Loader\YamlFileLoader;
261261

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

264-
* YAML files::
264+
* XML files::
265265

266266
use Symfony\Component\Serializer\Mapping\Factory\ClassMetadataFactory;
267267
use Symfony\Component\Serializer\Mapping\Loader\XmlFileLoader;

0 commit comments

Comments
 (0)