Skip to content

Commit

Permalink
set visibility of methods
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevinrob committed Jul 7, 2015
1 parent 24b77d5 commit 5b4c906
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/PrivateCache.php
Original file line number Diff line number Diff line change
Expand Up @@ -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));
}
Expand All @@ -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));
}
Expand Down

0 comments on commit 5b4c906

Please sign in to comment.