Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 917e6ca

Browse files
committed
[#5640] some minor tweaks
Replace tip by note and fix API doc reference.
1 parent 94697fc commit 917e6ca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

book/controller.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -658,7 +658,7 @@ the following code will render the ``notice`` message:
658658
</div>
659659
<?php endforeach ?>
660660

661-
.. tip::
661+
.. note::
662662

663663
By design, flash messages are meant to be processed exactly once. This means
664664
that they vanish from the session automatically when they are retrieved from
@@ -667,7 +667,7 @@ the following code will render the ``notice`` message:
667667
.. tip::
668668

669669
You can use the
670-
:method:`Symfony\\Component\\HttpFoundation\\Session\\Flash\\FlashBagInterface::peek()`
670+
:method:`Symfony\\Component\\HttpFoundation\\Session\\Flash\\FlashBagInterface::peek`
671671
method instead to retrieve the message while keeping it in the bag.
672672

673673
.. index::

0 commit comments

Comments
 (0)