errors = $errors; } /** * @return string[] */ public function getErrors(): array { return $this->errors; } }