Skip to content

Commit c332063

Browse files
committed
minor #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

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/dependency_injection/types.rst

Lines 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)