Skip to content

Commit 02a9c1c

Browse files
authored
Update cache.rst
1 parent 304c77a commit 02a9c1c

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
@@ -869,7 +869,7 @@ First, create a service that will compute the item's value::
869869

870870
class CacheComputation
871871
{
872-
public function compute(ItemInterface $item): string
872+
public static function compute(ItemInterface $item): string
873873
{
874874
$item->expiresAfter(5);
875875

0 commit comments

Comments
 (0)