Skip to content

Commit 343b4b2

Browse files
committed
Fixing doc
1 parent 73c381a commit 343b4b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ $classBoundCacheContract = new ClassBoundCacheContract(new ClassBoundCache($file
105105

106106
// Put the $myDataToCache object in cache.
107107
// If the FooBar class is modified, the cache item is purged.
108-
$classBoundCache->get(new ReflectionClass(FooBar::class), function() {
108+
$item = $classBoundCache->get(new ReflectionClass(FooBar::class), function() {
109109
// let's return the item to be cached.
110110
// this function is called only if the item is not in cache yet.
111111
});

0 commit comments

Comments
 (0)