8000 Don't use double backquotes in the comments · symfony/symfony-docs@0fdc645 · GitHub
[go: up one dir, main page]

Skip to content

Commit 0fdc645

Browse files
committed
Don't use double backquotes in the comments
1 parent 22ea372 commit 0fdc645

File tree

4 files changed

+11
-11
lines changed

4 files changed

+11
-11
lines changed

components/cache/adapters/array_cache_adapter.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ method::
1515
// until the current PHP process finishes)
1616
$defaultLifetime = 0,
1717

18-
// if ``true``, the values saved in the cache are serialized before storing them
18+
// if `true`, the values saved in the cache are serialized before storing them
1919
$storeSerialized = true,
2020

2121
// the maximum lifetime (in seconds) of the entire cache (after this time, the

event_dispatcher.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -796,7 +796,7 @@ could listen to the ``mailer.post_send`` event and change the method's return va
796796
public function onMailerPostSend(AfterSendMailEvent $event)
797797
{
798798
$returnValue = $event->getReturnValue();
799-
// modify the original ``$returnValue`` value
799+
// modify the original `$returnValue` value
800800

801801
$event->setReturnValue($returnValue);
802802
}

service_container/autowiring.rst

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -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

testing.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -570,7 +570,7 @@ create more complex assertions in your tests::
570570

571571
$crawler = $client->request('GET', '/post/hello-world');
572572

573-
// for instance, count the number of ``.comment`` elements on the page
573+
// for instance, count the number of `.comment` elements on the page
574574
$this->assertCount(4, $crawler->filter('.comment'));
575575

576576
You can learn more about the crawler in :doc:`/testing/dom_crawler`.

0 commit comments

Comments
 (0)
0