diff --git a/components/cache/cache_items.rst b/components/cache/cache_items.rst index 04d32547b65..e9fafe348b0 100644 --- a/components/cache/cache_items.rst +++ b/components/cache/cache_items.rst @@ -42,7 +42,7 @@ pool:: // $cache pool object was created before $productsCount = $cache->getItem('stats.products_count'); -Then, use the ``Psr\\Cache\\CacheItemInterface::set`` method to set the data stored +Then, use the ``Psr\Cache\CacheItemInterface::set`` method to set the data stored in the cache item (this step is done automatically when using the Cache Contracts):: // storing a simple integer diff --git a/messenger/multiple_buses.rst b/messenger/multiple_buses.rst index 5099a389005..86b10116e82 100644 --- a/messenger/multiple_buses.rst +++ b/messenger/multiple_buses.rst @@ -209,7 +209,7 @@ the correct tag: # config/services.yaml - # put this after the `App\` line that registers all your services + # put this after the "App\" line that registers all your services command_handlers: namespace: App\MessageHandler\ resource: '%kernel.project_dir%/src/MessageHandler/*CommandHandler.php'