fisharebest/webtrees

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

Summary

Maintainability
A
1 hr
Test Coverage

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

    public function handle(ServerRequestInterface $request): ResponseInterface
    {
        $tree  = Validator::attributes($request)->treeOptional();
        $email = Validator::parsedBody($request)->string('email');
        $user  = $this->user_service->findByEmail($email);
Severity: Minor
Found in app/Http/RequestHandlers/PasswordRequestAction.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status