Skip to content

Commit 9471b31

Browse files
rela589ngreg0ire
andcommitted
Update docs/en/reference/xml-mapping.rst
Co-authored-by: Grégoire Paris <[email protected]>
1 parent 229048d commit 9471b31

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

docs/en/reference/xml-mapping.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,7 @@ In order to work, this requires certain conventions:
4646
.. code-block:: php
4747
4848
<?php
49-
$locator = $driver->getLocator();
50-
$locator->setFileExtension('.xml');
49+
$driver->getLocator()->setFileExtension('.xml');
5150
5251
It is recommended to put all XML mapping documents in a single
5352
folder but you can spread the documents over several folders if you

0 commit comments

Comments
 (0)