diff --git a/cache.rst b/cache.rst index b8cb19935d8..e739d27f4d4 100644 --- a/cache.rst +++ b/cache.rst @@ -315,7 +315,7 @@ with either :class:`Symfony\\Contracts\\Cache\\CacheInterface` or } // in a service - public function __construct(CacheInterface $customThingCache) + public function __construct(private CacheInterface $customThingCache) { // ... }