Skip to content

Commit c686163

Browse files
committed
minor #11442 Missing square bracket (Webcretaire)
This PR was merged into the 4.2 branch. Discussion ---------- Missing square bracket Typo in cache documentation regarding tags Commits ------- 665ca3e Missing square bracket
2 parents 2dbf149 + 665ca3e commit c686163

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
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);

0 commit comments

Comments
 (0)