app/Module/LanguageFrench.php
Method relationships
has 140 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function relationships(): array
{
// Construct the genitive form in French
$genitive = static fn (string $s, string $genitive_link): array => [$s, '%s ' . $genitive_link . $s];