Skip to content

Commit cc186bd

Browse files
committed
minor #18810 [Cache] Mutate annotation to attribute (alexandre-daubois)
This PR was merged into the 6.3 branch. Discussion ---------- [Cache] Mutate annotation to attribute Commits ------- 97a168c [Cache] Mutate annotation to attribute
2 parents 0af959e + 97a168c commit cc186bd

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

cache.rst

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -898,9 +898,7 @@ In the following example, the value is requested from a controller::
898898

899899
class CacheController extends AbstractController
900900
{
901-
/**
902-
* @Route("/cache", name="cache")
903-
*/
901+
#[Route('/cache', name: 'cache')]
904902
public function index(CacheInterface $asyncCache): Response
905903
{
906904
// pass to the cache the service method that refreshes the item

0 commit comments

Comments
 (0)