rich-id/terms-module

View on GitHub
src/UserInterface/Controller/SignRoute.php

Summary

Maintainability
A
1 hr
Test Coverage

Method __invoke has 26 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function __invoke(string $termsSlug): Response
    {
        $request = $this->requestStack->getCurrentRequest() ?? new Request();
        $subject = $this->getSubject($request);
        $termsGuardValidation = DummyTermsGuardValidation::create($termsSlug, $subject->getTermsSubjectType(), $subject->getTermsSubjectIdentifier());
Severity: Minor
Found in src/UserInterface/Controller/SignRoute.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status