Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit c686163

Browse filesBrowse 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
Copy full SHA for c686163

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎components/cache.rst

Copy file name to clipboardExpand all lines: components/cache.rst
+1-1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.