diff --git a/book/templating.rst b/book/templating.rst index 40990c1dbcf..787e4aad46f 100644 --- a/book/templating.rst +++ b/book/templating.rst @@ -1401,7 +1401,7 @@ Debugging When using PHP, you can use ``var_dump()`` if you need to quickly find the value of a variable passed. This is useful, for example, inside your controller. -The same can be achieved when using Twig thanks to the the debug extension. +The same can be achieved when using Twig thanks to the debug extension. Template parameters can then be dumped using the ``dump`` function: diff --git a/components/dependency_injection/advanced.rst b/components/dependency_injection/advanced.rst index 4766bc8011e..7bed45e2021 100644 --- a/components/dependency_injection/advanced.rst +++ b/components/dependency_injection/advanced.rst @@ -66,7 +66,7 @@ Synthetic services are services that are injected into the container instead of being created by the container. For example, if you're using the :doc:`HttpKernel` -component with the DependencyInjection component, then the the ``request`` +component with the DependencyInjection component, then the ``request`` service is injected in the :method:`ContainerAwareHttpKernel::handle() ` method when entering the request :doc:`scope `.