8000 refactor(service_container): refactoring on wording || part 3 · symfony/symfony-docs@050caf3 · GitHub
[go: up one dir, main page]

Skip to content

Commit 050caf3

Browse files
committed
refactor(service_c 8000 ontainer): refactoring on wording || part 3
1 parent 4f5b812 commit 050caf3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

service_container/definitions.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ any method calls in the definitions as well::
117117
// configures a new method call
118118
$definition->addMethodCall('setLogger', [new Reference('logger')]);
119119

120-
// configure immutable-setter
120+
// configures an immutable-setter
121121
$definition->addMethodCall('withLogger', [new Reference('logger')], true);
122122

123123
// replaces all previously configured method calls with the passed array

service_container/injection_types.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ by cloning the original service, this approach allows you to make a service immu
128128
}
129129

130130
In order to use the full potential of this approach, you can define a third argument
131-
which allow the container to return the newly created service:
131+
which allows the container to return the newly created service:
132132

133133
.. configuration-block::
134134

0 commit comments

Comments
 (0)
0