PHPSocialNetwork/phpfastcache

View on GitHub
lib/Phpfastcache/EventManager.php

Summary

Maintainability
A
1 hr
Test Coverage

Showing 1 of 1 total issue

Function __call has a Cognitive Complexity of 10 (exceeds 5 allowed). Consider refactoring.
Open

public function __call(string $name, array $arguments): void
{
if (\str_starts_with($name, 'on')) {
$name = \substr($name, 2);
if (\is_callable($arguments[0])) {
Severity: Minor
Found in lib/Phpfastcache/EventManager.php - About 1 hr to fix
Category
Status