Skip to content

Commit 4f5b812

Browse files
committed
refactor(service_container): refactoring on wording || part 2
1 parent fbea670 commit 4f5b812

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

service_container/injection_types.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,8 @@ then extending it and overriding the constructor becomes problematic.
103103
Immutable-setter Injection
104104
--------------------------
105105

106-
Another possible injection in to use a method which return a separate instance
107-
by cloning the original service, this approach allow you to make a service immutable::
106+
Another possible injection is to use a method which returns a separate instance
107+
by cloning the original service, this approach allows you to make a service immutable::
108108

109109
// ...
110110

0 commit comments

Comments
 (0)