From 05a70aeaf2ef11a95eb9107a41243aca9115d75b Mon Sep 17 00:00:00 2001 From: Tac Tacelosky Date: Wed, 21 Jun 2023 11:30:12 -0600 Subject: [PATCH] Update cache.rst add 'private' for php 8 constructor --- cache.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { // ... }