<?php

declare(strict_types=1);

namespace App\Http\Controllers\Install;

use App\Http\Controllers\Controller;
use App\Services\Install\EnvironmentCheckService;
use Illuminate\Contracts\View\View;

final class InstallEnvironmentController extends Controller
{
    public function show(EnvironmentCheckService $environmentCheckService): View
    {
        return view('install.environment', [
            'report' => $environmentCheckService->report(),
        ]);
    }
}
