Skip to content

Commit ee69e5a

Browse files
committed
Merge branch '5.2' into 5.x
* 5.2: update doc with max-age [Mercure] Fix configuration-block Fix typo Minor fixes
2 parents 982a9b7 + 9ea8d38 commit ee69e5a

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

controller.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ the argument by its name:
271271
->addTag('controller.service_arguments')
272272
->setBindings([
273273
'$logger' => new Reference('monolog.logger.doctrine'),
274-
'$projectDir' => '%kernel.project_dir%'
274+
'$projectDir' => '%kernel.project_dir%',
275275
])
276276
;
277277

frontend/encore/dev-server.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ While developing, instead of using ``yarn encore dev --watch``, you can use the
1010
1111
This builds and serves the front-end assets from a new server. This server runs at
1212
``localhost:8080`` by default, meaning your build assets are available at ``localhost:8080/build``.
13-
This server does not actually write the files to disk; instead it servers them from memory,
13+
This server does not actually write the files to disk; instead it serves them from memory,
1414
allowing for hot module reloading.
1515

1616
As a consequence, the ``link`` and ``script`` tags need to point to the new server. If you're using the

http_cache/expiration.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ additional directives):
3434

3535
.. code-block:: text
3636
37-
Cache-Control: public, maxage=600
37+
Cache-Control: public, max-age=600
3838
3939
.. note::
4040

introduction/from_flat_php_to_symfony.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -528,7 +528,7 @@ The Sample Application in Symfony
528528

529529
The blog has come a *long* way, but it still contains a lot of code for such
530530
a basic application. Along the way, you've made a basic routing system and
531-
a method using ``ob_start()`` and ``ob_get_clean()`` to render templates.
531+
a function using ``ob_start()`` and ``ob_get_clean()`` to render templates.
532532
If, for some reason, you needed to continue building this "framework" from
533533
scratch, you could at least use Symfony's standalone :doc:`Routing </routing>`
534534
component and :doc:`Twig </templates>`, which already solve these problems.

mercure.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,7 @@ This cookie will be automatically sent by the web browser when connecting to the
402402
Then, the Hub will verify the validity of the provided JWT, and extract the topic selectors
403403
from it.
404404

405-
add your JWT secret to the configuration as follow ::
405+
Add your JWT secret to the configuration as follow:
406406

407407
.. configuration-block::
408408

page_creation.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ Make sure that ``LuckyController`` extends Symfony's base
220220
// ...
221221
}
222222
223-
Now, use the handy ``render()`` function to render a template. Pass it a ``number``
223+
Now, use the handy ``render()`` method to render a template. Pass it a ``number``
224224
variable so you can use it in Twig::
225225

226226
// src/Controller/LuckyController.php

0 commit comments

Comments
 (0)