Skip to content

Commit 51d7617

Browse files
committed
CS
1 parent d79cf8f commit 51d7617

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,10 @@ For the Symfony 4/Flex structure, you need to adjust your `index.php` like this:
6767
$kernel = new Kernel($env, $debug);
6868
$kernel = new HttpCache(
6969
$kernel,
70-
new Psr6Store(['cache_directory' => $kernel->getCacheDir()]), [
71-
'debug' => $debug,
72-
]);
70+
new Psr6Store(['cache_directory' => $kernel->getCacheDir()]),
71+
null,
72+
['debug' => $debug]
73+
);
7374
```
7475

7576
That's it, that's all there is to do. The `Psr6Store` will automatically

src/Psr6Store.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
use Symfony\Component\Cache\Adapter\TagAwareAdapter;
1818
use Symfony\Component\Cache\Adapter\TagAwareAdapterInterface;
1919
use Symfony\Component\Cache\PruneableInterface;
20-
use Symfony\Component\HttpFoundation\HeaderBag;
2120
use Symfony\Component\HttpFoundation\Request;
2221
use Symfony\Component\HttpFoundation\Response;
2322
use Symfony\Component\Lock\Exception\LockReleasingException;

0 commit comments

Comments
 (0)