Skip to content

Commit beab211

Browse files
authored
Fix readme
1 parent d8c5b1f commit beab211

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

README.md

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -172,20 +172,16 @@ $promises = \React\Promise\all([
172172

173173
### `clear($key)`
174174

175-
Clears the value at `$key` from the cache, if it exists. Returns itself for
176-
method chaining.
175+
Clears the value at `$key` from the cache, if it exists.
177176

178177
- `@param mixed key: An key value to clear.`
179178

180179
### `clearAll()`
181180

182-
Clears the entire cache. Returns itself for method chaining.
181+
Clears the entire cache.
183182

184183
### `prime($key, $value)`
185184

186185
Primes the cache with the provided key and value. If the key already exists, no
187186
change is made. (To forcefully prime the cache, clear the key first with
188-
`$loader->clear($key)->prime($key, $value)`. Returns itself for method chaining.
189-
190-
191-
187+
`$loader->clear($key)->prime($key, $value)`.

0 commit comments

Comments
 (0)