@@ -216,8 +216,8 @@ adding a service alias:
216216 # ...
217217
218218 # but this fixes it!
219- # the `` app.rot13.transformer`` service will be injected when
220- # an `` App\Util\Rot13Transformer`` type-hint is detected
219+ # the " app.rot13.transformer" service will be injected when
220+ # an App\Util\Rot13Transformer type-hint is detected
221221 App\Util\Rot13Transformer : ' @app.rot13.transformer'
222222
223223 .. code-block :: xml
@@ -251,8 +251,8 @@ adding a service alias:
251251 ->autowire();
252252
253253 // but this fixes it!
254- // the `` app.rot13.transformer`` service will be injected when
255- // an `` App\Util\Rot13Transformer`` type-hint is detected
254+ // the " app.rot13.transformer" service will be injected when
255+ // an App\Util\Rot13Transformer type-hint is detected
256256 $services->alias(Rot13Transformer::class, 'app.rot13.transformer');
257257 };
258258
@@ -355,8 +355,8 @@ To fix that, add an :ref:`alias <service-autowiring-alias>`:
355355
356356 $services->set(Rot13Transformer::class);
357357
358- // the `` App\Util\Rot13Transformer`` service will be injected when
359- // an `` App\Util\TransformerInterface`` type-hint is detected
358+ // the App\Util\Rot13Transformer service will be injected when
359+ // an App\Util\TransformerInterface type-hint is detected
360360 $services->alias(TransformerInterface::class, Rot13Transformer::class);
361361 };
362362
@@ -526,13 +526,13 @@ the injection::
526526 $services->set(Rot13Transformer::class)->autowire();
527527 $services->set(UppercaseTransformer::class)->autowire();
528528
529- // the `` App\Util\UppercaseTransformer`` service will be
530- // injected when an `` App\Util\TransformerInterface``
531- // type-hint for a `` $shoutyTransformer`` argument is detected.
529+ // the App\Util\UppercaseTransformer service will be
530+ // injected when an App\Util\TransformerInterface
531+ // type-hint for a $shoutyTransformer argument is detected.
532532 $services->alias(TransformerInterface::class.' $shoutyTransformer', UppercaseTransformer::class);
533533
534534 // If the argument used for injection does not match, but the
535- // type-hint still matches, the `` App\Util\Rot13Transformer``
535+ // type-hint still matches, the App\Util\Rot13Transformer
536536 // service will be injected.
537537 $services->alias(TransformerInterface::class, Rot13Transformer::class);
538538
0 commit comments