fix: self ref typo

Signed-off-by: Josh <josh.t.richards@gmail.com>
This commit is contained in:
Josh 2025-09-12 07:54:37 -04:00 committed by GitHub
parent b6d332d07f
commit 7936f07aaa
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -109,7 +109,7 @@ class Redis extends Cache implements IMemcacheTTL {
*/
$pattern = $this->getPrefix() . $prefix . '*';
/** @var array|false */
$keys = $self::$cache->keys($pattern);
$keys = self::$cache->keys($pattern);
if (!is_array($keys) || count($keys) === 0) { // no matching keys
return true; // nothing to do; consider operation done
}