src/Prismic/Cache/DefaultCache.php
Call to method __construct
from undeclared class \Symfony\Component\Cache\Adapter\ApcuAdapter
Open
Open
return new ApcuAdapter(\str_replace('\\', '', __NAMESPACE__));
- Exclude checks
Call to method __construct
from undeclared class \Symfony\Component\Cache\Adapter\ArrayAdapter
Open
Open
return new ArrayAdapter();
- Exclude checks
Returning type \Symfony\Component\Cache\Adapter\ApcuAdapter
but getApcCache()
is declared to return \Psr\Cache\CacheItemPoolInterface
Open
Open
return new ApcuAdapter(\str_replace('\\', '', __NAMESPACE__));
- Exclude checks
Return type of getArrayCache()
is undeclared type \Psr\Cache\CacheItemPoolInterface
Open
Open
public static function getArrayCache() : CacheItemPoolInterface
- Exclude checks
Return type of factory()
is undeclared type \Psr\Cache\CacheItemPoolInterface
Open
Open
public static function factory() : CacheItemPoolInterface
- Exclude checks
Returning type \Symfony\Component\Cache\Adapter\ArrayAdapter
but getArrayCache()
is declared to return \Psr\Cache\CacheItemPoolInterface
Open
Open
return new ArrayAdapter();
- Exclude checks
Return type of getApcCache()
is undeclared type \Psr\Cache\CacheItemPoolInterface
Open
Open
public static function getApcCache() : CacheItemPoolInterface
- Exclude checks