Showing 1 of 1 total issue
Method __invoke
has 47 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function __invoke(ContainerInterface $container): AuthorizationMiddleware
{
if (!$container->has(AuthorizationInterface::class)) {
throw new InvalidConfigException(
sprintf(