mirror of
https://github.com/friendica/friendica
synced 2025-04-25 18:30:11 +00:00
Rename NAME to constant
This commit is contained in:
parent
bbfec06a3d
commit
9ff89a970a
9 changed files with 11 additions and 11 deletions
|
@ -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.');
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue