<?php

declare(strict_types=1);

namespace PpPhp\Modules\Dashboard\Controllers;

use PpPhp\Core\Security;

class DashboardController
{
    public function index(): string
    {
        Security::RequireAuth();
        redirect('/projects');
        return ''; // unreachable, satisfies return type
    }
}