From 5b4c90684fc825626e8f52862f40010eea834585 Mon Sep 17 00:00:00 2001 From: Kevin Robatel Date: Tue, 7 Jul 2015 16:33:46 +0200 Subject: [PATCH] set visibility of methods --- src/PrivateCache.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)); }