Rename NAME to constant

This commit is contained in:
Philipp
2023-07-26 22:42:40 +02:00
parent bbfec06a3d
commit 9ff89a970a
9 changed files with 11 additions and 11 deletions

View File

@@ -69,7 +69,7 @@ class Cache
*/
public function createDistributed(string $type = null): ICanCache
{
if ($type === Type\APCuCache::$NAME) {
if ($type === Type\APCuCache::NAME) {
throw new InvalidCacheDriverException('apcu doesn\'t support distributed caching.');
}