diff --git a/src/PrivateCache.php b/src/PrivateCache.php index cce748c2..f3bae314 100644 --- a/src/PrivateCache.php +++ b/src/PrivateCache.php @@ -81,7 +81,7 @@ protected function getCacheKey(RequestInterface $request) * @param RequestInterface $request * @return CacheEntry|null */ - function fetch(RequestInterface $request) + public function fetch(RequestInterface $request) { return $this->storage->fetch($this->getCacheKey($request)); } @@ -91,7 +91,7 @@ function fetch(RequestInterface $request) * @param ResponseInterface $response * @return bool true if success */ - function cache(RequestInterface $request, ResponseInterface $response) + public function cache(RequestInterface $request, ResponseInterface $response) { $this->storage->save($this->getCacheKey($request), $this->getCacheObject($response)); }