Skip to content

Commit 52404c9

Browse files
committed
[#7684] minor versionadded rewording
1 parent e7607f1 commit 52404c9

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

controller.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -452,8 +452,8 @@ read any flash messages from the session using ``app.flashes()``:
452452
<?php endforeach ?>
453453

454454
.. versionadded:: 3.3
455-
The ``app.flashes()`` method was introduced in Symfony 3.3. Prior to version 3.3
456-
you had to use ``app.session.flashBag``.
455+
The ``app.flashes()`` Twig function was introduced in Symfony 3.3. Prior,
456+
you had to use ``app.session.flashBag()``.
457457

458458
.. note::
459459

quick_tour/the_controller.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -338,8 +338,8 @@ And you can display the flash message in the template like this:
338338
{% endfor %}
339339

340340
.. versionadded:: 3.3
341-
The ``app.flashes()`` method was introduced in Symfony 3.3. Prior to version 3.3
342-
you had to use ``app.session.flashBag``.
341+
The ``app.flashes()`` Twig function was introduced in Symfony 3.3. Prior,
342+
you had to use ``app.session.flashBag()``.
343343

344344
Final Thoughts
345345
--------------

session/avoid_session_start.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,5 +38,5 @@ access the flash messages:
3838
{% endif %}
3939

4040
.. versionadded:: 3.3
41-
The ``app.flashes()`` method was introduced in Symfony 3.3. Prior to version 3.3
42-
you had to use ``app.session.flashBag``.
41+
The ``app.flashes()`` Twig function was introduced in Symfony 3.3. Prior,
42+
you had to use ``app.session.flashBag()``.

0 commit comments

Comments
 (0)