fisharebest/webtrees

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

Summary

Maintainability
A
1 hr
Test Coverage

Method handle has 26 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');
        $fact_id = Validator::attributes($request)->string('fact_id');
Severity: Minor
Found in app/Http/RequestHandlers/EditMediaFileModal.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status