Skip to content
Prev Previous commit
Next Next commit
Fixed the indentation of the code block
  • Loading branch information
javiereguiluz committed Jan 12, 2017
commit a4f3354fb642e52bd9ef67faf076e82c13744b4c
4 changes: 2 additions & 2 deletions components/dependency_injection.rst
Original file line number Diff line number Diff line change
Expand Up @@ -222,8 +222,8 @@ Loading a YAML config file::
XML files have a ``.config`` extension) you can pass the file type as the
second optional parameter of the ``load()`` method::

// ...
$loader->load('services.config', 'xml');
// ...
$loader->load('services.config', 'xml');

If you *do* want to use PHP to create the services then you can move this
into a separate config file and load it in a similar way::
Expand Down