Rename NAME to constant

This commit is contained in:
Philipp 2023-07-26 22:42:40 +02:00
parent bbfec06a3d
commit 9ff89a970a
No known key found for this signature in database
GPG key ID: 24A7501396EB5432
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.');
}