Skip to content

Commit

Permalink
Merge pull request #450 from gnito-org/correct-spelling
Browse files Browse the repository at this point in the history
Correct spelling in docs
  • Loading branch information
garak authored Dec 24, 2021
2 parents a0b4224 + 264f6ae commit 1ad14b5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/events.rst
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ to allow other parts of your application to add more stuff to it.
Create the Event object
-----------------------

The event object allows to pass some data to the listener. In this case,
The event object allows passing some data to the listener. In this case,
it will hold the menu being created and the factory.

.. code-block:: php
Expand Down
4 changes: 2 additions & 2 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ With the standard ``knp_menu.html.twig`` template and your current page being

You only need to implement ``ContainerAwareInterface`` if you need the
service container. The more elegant way to handle your dependencies is to
inject them in the constructor. If you want to do that, see method below.
inject them in the constructor. If you want to do that, see the method below.

.. note::

Expand Down Expand Up @@ -234,7 +234,7 @@ For information on how to register a service and tag it as a menu, read
Rendering Menus
---------------

Once you've setup your menu, rendering it easy. If you've used the "easy"
Once you've set up your menu, rendering it is easy. If you've used the "easy"
way, then do the following:

.. configuration-block::
Expand Down

0 comments on commit 1ad14b5

Please sign in to comment.