Skip to content

Commit 37ba516

Browse files
committed
Correct spelling & grammar in 4.4 service_container/
1 parent 62c0653 commit 37ba516

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

service_container/autowiring.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ If there is *not* a service whose id exactly matches the type, a clear exception
186186
will be thrown.
187187

188188
Autowiring is a great way to automate configuration, and Symfony tries to be as
189-
*predictable* and clear as possible.
189+
*predictable* and as clear as possible.
190190

191191
.. _service-autowiring-alias:
192192

@@ -273,7 +273,7 @@ class is type-hinted.
273273

274274
.. versionadded:: 4.2
275275

276-
Since Monolog Bundle 3.5 each channel bind into container by type-hinted alias.
276+
Since Monolog Bundle 3.5 each channel binds into the container by type-hinted alias.
277277
More info in the part about :ref:`how to autowire monolog channels <monolog-autowire-channels>`.
278278

279279
.. _autowiring-interface-alias:

service_container/injection_types.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ This approach is useful if you need to configure your service according to your
196196
so, here's the advantages of immutable-setters:
197197

198198
* Immutable setters works with optional dependencies, this way, if you don't need
199-
a dependency, the setter don't need to be called.
199+
a dependency, the setter doesn't need to be called.
200200

201201
* Like the constructor injection, using immutable setters force the dependency to stay
202202
the same during the lifetime of a service.

0 commit comments

Comments
 (0)