Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit c332063

Browse filesBrowse files
committed
minor symfony#4278 Missing word in DependencyInjection => Types of Injection (fabschurt)
This PR was merged into the 2.3 branch. Discussion ---------- Missing word in DependencyInjection => Types of Injection | Q | A | ------------- | --- | Doc fix? | yes | New docs? | no | Applies to | 2.3+ | Fixed tickets | n/a Commits ------- 2377280 Insert a missing word
2 parents 8e20dfb + 2377280 commit c332063
Copy full SHA for c332063

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed

‎components/dependency_injection/types.rst

Copy file name to clipboardExpand all lines: components/dependency_injection/types.rst
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,8 +170,8 @@ The disadvantages of setter injection are:
170170

171171
* The setter can be called more than just at the time of construction so
172172
you cannot be sure the dependency is not replaced during the lifetime of the
173-
object (except by explicitly writing the setter method to check if has already been
174-
called).
173+
object (except by explicitly writing the setter method to check if it has already
174+
been called).
175175

176176
* You cannot be sure the setter will be called and so you need to add checks
177177
that any required dependencies are injected.

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.