Skip to content

Commit 1859eb3

Browse files
committed
Adding syntax error
1 parent 74252c2 commit 1859eb3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cache.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ The following example shows a typical usage of the cache::
1515
// The callable will only be executed on a cache miss.
1616
$value = $pool->get('my_cache_key', function (ItemInterface $item) {
1717
$item->expiresAfter(3600);
18-
18+
'abc'
1919
// ... do some HTTP request or heavy computations
2020
$computedValue = 'foobar';
2121

0 commit comments

Comments
 (0)