fisharebest/webtrees

View on GitHub
app/Module/WelcomeBlockModule.php

Summary

Maintainability
A
1 hr
Test Coverage

Method getBlock has 36 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function getBlock(Tree $tree, int $block_id, string $context, array $config = []): string
    {
        $individual = $tree->significantIndividual(Auth::user());

        $links = [];
Severity: Minor
Found in app/Module/WelcomeBlockModule.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status