app/Controllers/DashboardController.php
Method home
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function home(Request $request, Response $response, int $page = 0): Response
{
$page = max(0, --$page);
switch (param($request, 'sort', 'time')) {