Skip to content

Commit

Permalink
refactor: make ResponseCache final
Browse files Browse the repository at this point in the history
  • Loading branch information
kenjis committed Jul 4, 2023
1 parent 42ea493 commit 7890156
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions system/Cache/ResponseCache.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
/**
* Web Page Caching
*/
class ResponseCache
final class ResponseCache
{
/**
* Whether to take the URL query string into consideration when generating
Expand All @@ -35,16 +35,16 @@ class ResponseCache
*
* @var bool|string[]
*/
protected $cacheQueryString = false;
private $cacheQueryString = false;

/**
* Cache time to live.
*
* @var int seconds
*/
protected int $ttl = 0;
private int $ttl = 0;

protected CacheInterface $cache;
private CacheInterface $cache;

public function __construct(CacheConfig $config, CacheInterface $cache)
{
Expand Down

0 comments on commit 7890156

Please sign in to comment.