Function getItem
has a Cognitive Complexity of 9 (exceeds 5 allowed). Consider refactoring.
public function getItem(string $key): ExtendedCacheItemInterface
{
$item = null;
$eCount = 0;
Function hasItem
has a Cognitive Complexity of 6 (exceeds 5 allowed). Consider refactoring.
public function hasItem(string $key): bool
{
$eCount = 0;
foreach ($this->clusterPools as $driverPool) {
try {
Function clear
has a Cognitive Complexity of 6 (exceeds 5 allowed). Consider refactoring.
public function clear(): bool
{
$hasClearedOnce = false;
$eCount = 0;
Function commit
has a Cognitive Complexity of 6 (exceeds 5 allowed). Consider refactoring.
public function commit(): bool
{
$hasCommitOnce = false;
$eCount = 0;
Function deleteItem
has a Cognitive Complexity of 6 (exceeds 5 allowed). Consider refactoring.
public function deleteItem(string $key): bool
{
$hasDeletedOnce = false;
$eCount = 0;
Function save
has a Cognitive Complexity of 6 (exceeds 5 allowed). Consider refactoring.
public function save(CacheItemInterface $item): bool
{
$hasSavedOnce = false;
$eCount = 0;
There are no issues that match your filters.