Skip to content

Commit 02b5456

Browse files
committed
Merge branch '4.2'
* 4.2: Missing square bracket Update kernel.rst
2 parents 44eaa4d + c686163 commit 02b5456

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

components/cache.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ recompute::
116116
$beta = 1.0;
117117
$value = $cache->get('my_cache_key', function (ItemInterface $item) {
118118
$item->expiresAfter(3600);
119-
$item->tag(['tag_0', 'tag_1');
119+
$item->tag(['tag_0', 'tag_1']);
120120

121121
return '...';
122122
}, $beta);

reference/configuration/kernel.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,6 @@ achieve a strict reproducible build:
182182
.. code-block:: php
183183
184184
// config/services.php
185-
use Symfony\Component\DependencyInjection\Reference;
186185
187186
// ...
188187
$container->setParameter('kernel.container_build_time', '1234567890');

0 commit comments

Comments
 (0)