Skip to content

Commit faa66ce

Browse files
The hashing_key property of Cache class was renamed with useHash
1 parent 0e2804a commit faa66ce

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Services/Cache.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ class Cache
3232

3333
protected mixed $key;
3434

35-
protected bool $hashing_key = true;
35+
protected bool $useHash = true;
3636

3737
protected string $keyHash = '';
3838

@@ -76,7 +76,7 @@ public function withAuth(): Cache
7676

7777
public function hashKey(bool $hash = true): Cache
7878
{
79-
$this->hashing_key = $hash;
79+
$this->useHash = $hash;
8080

8181
return $this;
8282
}
@@ -159,6 +159,6 @@ protected function getKey(): string
159159
array_unshift($key, $this->auth);
160160
}
161161

162-
return $this->key_hash = Key::get(':', $key, $this->hashing_key);
162+
return $this->keyHash = Key::get(':', $key, $this->useHash);
163163
}
164164
}

0 commit comments

Comments
 (0)