Skip to content

Commit 665ca3e

Browse files
authored
Missing square bracket
1 parent c328657 commit 665ca3e

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)