From 2191c360beedfb21b15005c0fe54e1eb5e2e9c71 Mon Sep 17 00:00:00 2001 From: Benjamin Lazarecki Date: Wed, 24 Jul 2019 13:22:39 -0400 Subject: [PATCH] Fix the chain adapter exemple on object creation --- components/cache/adapters/chain_adapter.rst | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/components/cache/adapters/chain_adapter.rst b/components/cache/adapters/chain_adapter.rst index c1ad7630565..998b39d8888 100644 --- a/components/cache/adapters/chain_adapter.rst +++ b/components/cache/adapters/chain_adapter.rst @@ -17,14 +17,13 @@ lifetime as its constructor arguments:: use Symfony\Component\Cache\Adapter\ApcuAdapter; - $cache = new ChainAdapter([ - + $cache = new ChainAdapter( // The ordered list of adapters used to fetch cached items array $adapters, // The max lifetime of items propagated from lower adapters to upper ones $maxLifetime = 0 - ]); + ); .. note::