We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8e20dfb commit 2377280Copy full SHA for 2377280
components/dependency_injection/types.rst
@@ -170,8 +170,8 @@ The disadvantages of setter injection are:
170
171
* The setter can be called more than just at the time of construction so
172
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).
+ object (except by explicitly writing the setter method to check if it has already
+ been called).
175
176
* You cannot be sure the setter will be called and so you need to add checks
177
that any required dependencies are injected.
0 commit comments