diff --git a/components/dependency_injection/types.rst b/components/dependency_injection/types.rst index 3fb9181fdea..0a1f65304b8 100644 --- a/components/dependency_injection/types.rst +++ b/components/dependency_injection/types.rst @@ -170,8 +170,8 @@ The disadvantages of setter injection are: * The setter can be called more than just at the time of construction so you cannot be sure the dependency is not replaced during the lifetime of the - object (except by explicitly writing the setter method to check if has already been - called). + object (except by explicitly writing the setter method to check if it has already + been called). * You cannot be sure the setter will be called and so you need to add checks that any required dependencies are injected.