Skip to content

Commit 7f069bd

Browse files
author
Andrey Helldar
authored
Merge pull request #4 from TheDragonCode/2.x
Update README.md
2 parents ac25502 + 3473845 commit 7f069bd

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,7 @@ To retrieve a tagged cache item, pass the same ordered list of tags to the tags
104104
```php
105105
use DragonCode\Cache\Services\Cache;
106106

107-
$cache = Cache::make()
108-
->key('foo', 'bar');
107+
$cache = Cache::make()->key('foo', 'bar');
109108

110109
$cache->tags('actor', 'author')->put(static fn() => 'Some value');
111110
// Contains cached `Some value`

0 commit comments

Comments
 (0)