fisharebest/webtrees

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

Summary

Maintainability
A
1 hr
Test Coverage

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

    public function handle(ServerRequestInterface $request): ResponseInterface
    {
        $tree     = Validator::attributes($request)->tree();
        $data_fix = Validator::attributes($request)->string('data_fix', '');
        $module   = $this->module_service->findByName($data_fix);
Severity: Minor
Found in app/Http/RequestHandlers/DataFixData.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status