Skip to content

Commit

Permalink
Keep cache in own directory (#4)
Browse files Browse the repository at this point in the history
* Keep cache in own directory

It keeps the cache directory cleaner

* Update Hi.php
  • Loading branch information
RiKap authored and ondrs committed Jun 5, 2017
1 parent 8e542b6 commit 9465443
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ondrs/Hi/Hi.php
Expand Up @@ -38,7 +38,7 @@ class Hi
*/
public function __construct(IStorage $storage, SimpleCurl $simpleCurl = NULL)
{
$this->cache = new Cache($storage);
$this->cache = new Cache($storage, str_replace('\\', '.', __CLASS__));

$this->simpleCurl = $simpleCurl === NULL
? new SimpleCurl
Expand Down

0 comments on commit 9465443

Please sign in to comment.