Skip to content

Commit f129b01

Browse files
committed
Merge branch '7.4' into 8.0
* 7.4: fix: formatting for `currency.rst` documentation Fix “construtor” typos across docs (constructor) Fix typo in encoders.rst (Serveral → Several)
2 parents 7507575 + c176633 commit f129b01

File tree

7 files changed

+8
-8
lines changed

7 files changed

+8
-8
lines changed

html_sanitizer.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ service. Now you have two ways of injecting it in any service or controller:
195195

196196
**(1) Use a specific argument name**
197197

198-
Type-hint your construtor/method argument with ``HtmlSanitizerInterface`` and name
198+
Type-hint your constructor/method argument with ``HtmlSanitizerInterface`` and name
199199
the argument using this pattern: "HTML sanitizer name in camelCase". For example, to
200200
inject the ``app.post_sanitizer`` defined earlier, use an argument named ``$appPostSanitizer``::
201201

lock.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ them in any service or controller:
212212

213213
**(1) Use a specific argument name**
214214

215-
Type-hint your construtor/method argument with ``LockFactory`` and name the
215+
Type-hint your constructor/method argument with ``LockFactory`` and name the
216216
argument using this pattern: "lock name in camelCase" + ``LockFactory`` suffix.
217217
For example, to inject the ``invoice`` package defined earlier::
218218

rate_limiter.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ them in any service or controller:
200200

201201
**(1) Use a specific argument name**
202202

203-
Type-hint your construtor/method argument with ``RateLimiterFactoryInterface`` and name
203+
Type-hint your constructor/method argument with ``RateLimiterFactoryInterface`` and name
204204
the argument using this pattern: "rate limiter name in camelCase" + ``Limiter`` suffix.
205205
For example, to inject the ``anonymous_api`` limiter defined earlier, use an
206206
argument named ``$anonymousApiLimiter``::

reference/configuration/framework.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ them in any service or controller:
178178

179179
**(1) Use a specific argument name**
180180

181-
Type-hint your construtor/method argument with ``PackageInterface`` and name
181+
Type-hint your constructor/method argument with ``PackageInterface`` and name
182182
the argument using this pattern: "asset package name in camelCase". For example,
183183
to inject the ``foo_package`` package defined earlier::
184184

reference/forms/types/currency.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Overridden Options
3535

3636
An active currency is one that is still in use today as `legal tender`_
3737
somewhere. This option allows you to show only the currencies that are active
38-
at that date:
38+
at that date::
3939

4040
use Symfony\Component\Form\Extension\Core\Type\CurrencyType;
4141

@@ -80,7 +80,7 @@ regardless of their legal tender status.
8080
**type**: ``\DateTimeInterface::class`` or ``null`` **default**: ``null``
8181

8282
An inactive currency is one that is a legacy currency, no longer in circulation.
83-
This option allows you to show only the currencies that are inactive at that date:
83+
This option allows you to show only the currencies that are inactive at that date::
8484

8585
use Symfony\Component\Form\Extension\Core\Type\CurrencyType;
8686

serializer/encoders.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ All context options available for the JSON encoder are:
5555
The ``CsvEncoder``
5656
------------------
5757

58-
The ``CsvEncoder`` encodes to and decodes from CSV. Serveral :ref:`context options <serializer-context>`
58+
The ``CsvEncoder`` encodes to and decodes from CSV. Several :ref:`context options <serializer-context>`
5959
are available to customize the behavior of the encoder:
6060

6161
``csv_delimiter`` (default: ``,``)

workflow.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -431,7 +431,7 @@ injecting each workflow in any service or controller:
431431

432432
**(1) Use a specific argument name**
433433

434-
Type-hint your construtor/method argument with ``WorkflowInterface`` and name the
434+
Type-hint your constructor/method argument with ``WorkflowInterface`` and name the
435435
argument using this pattern: "workflow name in camelCase" + ``Workflow`` suffix.
436436
If it is a state machine type, use the ``StateMachine`` suffix.
437437

0 commit comments

Comments
 (0)