Skip to content

Commit feb39a7

Browse files
committed
updated cache-key to be universally psr-16 compliant
1 parent 6d0cbdd commit feb39a7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Manager.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,9 @@ public function getRules(string $source_url = self::PSL_URL): Rules
8181
*/
8282
private function getCacheKey(string $str): string
8383
{
84-
static $cacheKeyPrefix = 'PSL-FULL';
84+
static $cacheKeyPrefix = 'PSL_FULL';
8585

86-
return $cacheKeyPrefix.'-'.md5(strtolower($str));
86+
return $cacheKeyPrefix.'_'.md5(strtolower($str));
8787
}
8888

8989
/**

0 commit comments

Comments
 (0)