src/http/controllers/HCCoreFormValidator.php
protected function formatErrors(string $errors)
    {
        $errors = json_decode($errors);
        $output = '';

        foreach ($errors as $error)
            foreach ($error as $message)
                $output .= $message . "\r\n";

        return $output;
    }
protected function formatErrors(string $errors)
    {
        $errors = json_decode($errors);
        $output = '';

        foreach ($errors as $error)
            foreach ($error as $message)
                $output .= $message . "\r\n";

        return $output;
    }
protected function formatErrors ( string $ errors ) { $ errors = json_decode ( $ errors ) ; $ output = '' ; foreach ( $ errors as $ error ) foreach ( $ error as $ message ) $ output .= $ message . "\r\n" ; return $ output ; }
Must return string!!

@param string $errors
@return mixed
Must return string!!