8000 Merge branch '4.2' · symfony/symfony-docs@966fa12 · GitHub
[go: up one dir, main page]

Skip to content

Commit 966fa12

Browse files
committed
Merge branch '4.2'
* 4.2: Revert "minor #11385 Don't use Flex config in 3.4 branch (javiereguiluz)" Swap aliases Don't use Flex config in 3.4 branch
2 parents ebf693b + 50bbacc commit 966fa12

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

service_container/autowiring.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -412,12 +412,12 @@ injection::
412412
# the ``App\Util\UppercaseTransformer`` service will be
413413
# injected when an ``App\Util\TransformerInterface``
414414
# type-hint for a ``$shoutyTransformer`` argument is detected.
415-
App\Util\TransformerInterface: '@App\Util\Rot13Transformer'
415+
App\Util\TransformerInterface $shoutyTransformer: '@App\Util\UppercaseTransformer'
416416
417417
# If the argument used for injection does not match, but the
418418
# type-hint still matches, the ``App\Util\Rot13Transformer``
419419
# service will be injected.
420-
App\Util\TransformerInterface $shoutyTransformer: '@App\Util\UppercaseTransformer'
420+
App\Util\TransformerInterface: '@App\Util\Rot13Transformer'
421421
422422
App\Service\TwitterClient:
423423
# the Rot13Transformer will be passed as the $transformer argument

0 commit comments

Comments
 (0)
0