From 02a9c1ca4353d0ff5107e58859264cfec7129eb4 Mon Sep 17 00:00:00 2001 From: Marvin <45764446+mboelsterli@users.noreply.github.com> Date: Fri, 21 Nov 2025 14:59:30 +0100 Subject: [PATCH] Update cache.rst --- cache.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cache.rst b/cache.rst index 9379511fde8..5c870736800 100644 --- a/cache.rst +++ b/cache.rst @@ -869,7 +869,7 @@ First, create a service that will compute the item's value:: class CacheComputation { - public function compute(ItemInterface $item): string + public static function compute(ItemInterface $item): string { $item->expiresAfter(5);