Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitfaa66ce

Browse files
Thehashing_key property ofCache class was renamed withuseHash
1 parent0e2804a commitfaa66ce

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎src/Services/Cache.php‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ class Cache
3232

3333
protectedmixed$key;
3434

35-
protectedbool$hashing_key =true;
35+
protectedbool$useHash =true;
3636

3737
protectedstring$keyHash ='';
3838

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

7777
publicfunctionhashKey(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)

[8]ページ先頭

©2009-2025 Movatter.jp