app/Module/WelcomeBlockModule.php
Method getBlock
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function getBlock(Tree $tree, int $block_id, string $context, array $config = []): string
{
$individual = $tree->significantIndividual(Auth::user());
$links = [];