fisharebest/webtrees

View on GitHub
app/Http/RequestHandlers/AddSpouseToFamilyPage.php

Summary

Maintainability
A
1 hr
Test Coverage

Method handle has 30 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function handle(ServerRequestInterface $request): ResponseInterface
    {
        $tree   = Validator::attributes($request)->tree();
        $xref   = Validator::attributes($request)->isXref()->string('xref');
        $sex    = Validator::attributes($request)->string('sex');
Severity: Minor
Found in app/Http/RequestHandlers/AddSpouseToFamilyPage.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status