Skip to content

Commit d8c5b1f

Browse files
authored
Fix DataLoaderInterface comments
1 parent 81f71d6 commit d8c5b1f

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/DataLoaderInterface.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public function load($key): ExtendedPromiseInterface;
3737
public function loadMany(array $keys): ExtendedPromiseInterface;
3838

3939
/**
40-
* Clears the value for the given key from the cache if it exists. Returns itself for method chaining.
40+
* Clears the value for the given key from the cache if it exists.
4141
*
4242
* @param int|string $key
4343
*
@@ -46,15 +46,14 @@ public function loadMany(array $keys): ExtendedPromiseInterface;
4646
public function clear($key): void;
4747

4848
/**
49-
* Clears the entire cache. Returns itself for method chaining.
49+
* Clears the entire cache.
5050
*
5151
* @return void
5252
*/
5353
public function clearAll(): void;
5454

5555
/**
5656
* Adds the given key and value to the cache. If the key already exists no change is made.
57-
* Returns itself for method chaining.
5857
*
5958
* @param int|string $key
6059
* @param int|string $value

0 commit comments

Comments
 (0)