<?php

declare(strict_types=1);

namespace App\Controllers;

use App\Core\Controller;
use App\Repositories\StatisticsRepository;

final class TransparencyController extends Controller
{
    public function index(): string
    {
        return $this->view('transparency/index', [
            'title' => 'Прозрачност',
            'rankings' => (new StatisticsRepository())->transparency(),
        ]);
    }
}
