SergiX44/XBackBone

View on GitHub
app/Controllers/DashboardController.php

Summary

Maintainability
A
1 hr
Test Coverage

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

    public function home(Request $request, Response $response, int $page = 0): Response
    {
        $page = max(0, --$page);

        switch (param($request, 'sort', 'time')) {
Severity: Minor
Found in app/Controllers/DashboardController.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status