public function getErrorList(): array
    {
        $errorList = $this->errorList;
        foreach ($this->fieldResultList as $fieldResult) {
            foreach ($fieldResult->getErrorList() as $error) {
                $errorList[] = $error;
            }
        }

        return $errorList;
    }
public function getErrorList(): array
    {
        $errorList = $this->errorList;
        foreach ($this->fieldResultList as $fieldResult) {
            foreach ($fieldResult->getErrorList() as $error) {
                $errorList[] = $error;
            }
        }

        return $errorList;
    }
public function getErrorList ( ) : array { $ errorList = $ this -> errorList ; foreach ( $ this -> fieldResultList as $ fieldResult ) { foreach ( $ fieldResult -> getErrorList ( ) as $ error ) { $ errorList [ ] = $ error ; } } return $ errorList ; }
Get any replacement errors.

@return string[]
Get any replacement errors .