Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion html_sanitizer.rst
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ service. Now you have two ways of injecting it in any service or controller:

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

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

Expand Down
2 changes: 1 addition & 1 deletion lock.rst
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ them in any service or controller:

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

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

Expand Down
2 changes: 1 addition & 1 deletion rate_limiter.rst
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ them in any service or controller:

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

Type-hint your construtor/method argument with ``RateLimiterFactory`` and name
Type-hint your constructor/method argument with ``RateLimiterFactory`` and name
the argument using this pattern: "rate limiter name in camelCase" + ``Limiter`` suffix.
For example, to inject the ``anonymous_api`` limiter defined earlier, use an
argument named ``$anonymousApiLimiter``::
Expand Down
2 changes: 1 addition & 1 deletion reference/configuration/framework.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2554,7 +2554,7 @@ them in any service or controller:

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

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

Expand Down
2 changes: 1 addition & 1 deletion workflow.rst
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ injecting each workflow in any service or controller:

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

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

Expand Down