app/Http/Routes/WebRoutes.php
Method load
has 363 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function load(Map $router): void
{
$router->attach('', '', static function (Map $router) {
// Admin routes.
$router->attach('', '/admin', static function (Map $router) {
File WebRoutes.php
has 680 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
<?php
/**
* webtrees: online genealogy
* Copyright (C) 2023 webtrees development team