8000 CS · FriendsOfSymfony/FOSHttpCache@be66e36 · GitHub
[go: up one dir, main page]

Skip to content

Commit be66e36

Browse files
committed
CS
1 parent 0bf80e5 commit be66e36

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

src/SymfonyCache/TaggableStore.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,9 @@ class TaggableStore implements StoreInterface
6464
/**
6565
* Constructor.
6666
*
67-
* @param string $cacheDir The cache directory.
68-
* @param int $pruneThreshold The number of write operations until orphan data gets pruned (default: 500)
69-
* @param string $purgeTagsHeader The tags header name
67+
* @param string $cacheDir The cache directory
68+
* @param int $pruneThreshold The number of write operations until orphan data gets pruned (default: 500)
69+
* @param string $purgeTagsHeader The tags header name
7070
*/
7171
public function __construct($cacheDir, $pruneThreshold = 500, $purgeTagsHeader = PurgeTagsListener::DEFAULT_PURGE_TAGS_HEADER)
7272
{

tests/Unit/SymfonyCache/TaggableStoreTest.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
use Symfony\Component\Cache\Adapter\ArrayAdapter;
1818
use Symfony\Component\Cache\Adapter\TagAwareAdapter;
1919
use Symfony\Component\Cache\Adapter\TagAwareAdapterInterface;
20-
use Symfony\Component\Cache\CacheItem;
2120
use Symfony\Component\HttpFoundation\Request;
2221
use Symfony\Component\HttpFoundation\Response;
2322

@@ -366,8 +365,7 @@ public function testPruneExpiredEntries()
366365
$store->setCache($cache);
367366

368367
foreach (range(1, 21) as $entry) {
369-
370-
$request = Request::create('https://foobar.com/' . $entry);
368+
$request = Request::create('https://foobar.com/'.$entry);
371369
$response = new Response('hello world', 200);
372370

373371
$store->write($request, $response);

0 commit comments

Comments
 (0)
0