Skip to content

Commit

Permalink
Return bool for cache()
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevinrob committed Jul 7, 2015
1 parent 5b4c906 commit e2a2ccb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PrivateCache.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,6 @@ public function fetch(RequestInterface $request)
*/
public function cache(RequestInterface $request, ResponseInterface $response)
{
$this->storage->save($this->getCacheKey($request), $this->getCacheObject($response));
return $this->storage->save($this->getCacheKey($request), $this->getCacheObject($response));
}
}

0 comments on commit e2a2ccb

Please sign in to comment.