1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
<?php declare(strict_types=1); namespace Nsfisis\Waddiwasi\WebAssembly\Validation; final readonly class ValidationResult { /** * @param list<string> $errors */ public function __construct( public array $errors, ) { } }