@@ -212,8 +212,8 @@ adding a service alias:
212212 # ...
213213
214214 # but this fixes it!
215- # the `` app.rot13.transformer`` service will be injected when
216- # an `` App\Util\Rot13Transformer`` type-hint is detected
215+ # the " app.rot13.transformer" service will be injected when
216+ # an App\Util\Rot13Transformer type-hint is detected
217217 App\Util\Rot13Transformer : ' @app.rot13.transformer'
218218
219219 .. code-block :: xml
@@ -247,8 +247,8 @@ adding a service alias:
247247 ->autowire();
248248
249249 // but this fixes it!
250- // the `` app.rot13.transformer`` service will be injected when
251- // an `` App\Util\Rot13Transformer`` type-hint is detected
250+ // the " app.rot13.transformer" service will be injected when
251+ // an App\Util\Rot13Transformer type-hint is detected
252252 $services->alias(Rot13Transformer::class, 'app.rot13.transformer');
253253 };
254254
@@ -352,8 +352,8 @@ To fix that, add an :ref:`alias <service-autowiring-alias>`:
352352
353353 $services->set(Rot13Transformer::class);
354354
355- // the `` App\Util\Rot13Transformer`` service will be injected when
356- // an `` App\Util\TransformerInterface`` type-hint is detected
355+ // the App\Util\Rot13Transformer service will be injected when
356+ // an App\Util\TransformerInterface type-hint is detected
357357 $services->alias(TransformerInterface::class, Rot13Transformer::class);
358358 };
359359
@@ -518,13 +518,13 @@ the injection::
518518 $services->set(Rot13Transformer::class)->autowire();
519519 $services->set(UppercaseTransformer::class)->autowire();
520520
521- // the `` App\Util\UppercaseTransformer`` service will be
522- // injected when an `` App\Util\TransformerInterface``
523- // type-hint for a `` $shoutyTransformer`` argument is detected.
521+ // the App\Util\UppercaseTransformer service will be
522+ // injected when an App\Util\TransformerInterface
523+ // type-hint for a $shoutyTransformer argument is detected.
524524 $services->alias(TransformerInterface::class.' $shoutyTransformer', UppercaseTransformer::class);
525525
526526 // If the argument used for injection does not match, but the
527- // type-hint still matches, the `` App\Util\Rot13Transformer``
527+ // type-hint still matches, the App\Util\Rot13Transformer
528528 // service will be injected.
529529 $services->alias(TransformerInterface::class, Rot13Transformer::class);
530530
0 commit comments