protected function formatErrors() : string
    {
        $errors = implode(PHP_EOL, $this->getErrorMessages());

        return PHP_EOL . PHP_EOL . $errors . PHP_EOL;
    }
protected function formatErrors() : string
    {
        $errors = implode(PHP_EOL, $this->getErrorMessages());

        return PHP_EOL . PHP_EOL . $errors . PHP_EOL;
    }
protected function formatErrors ( ) : string { $ errors = implode ( PHP_EOL , $ this -> getErrorMessages ( ) ) ; return PHP_EOL . PHP_EOL . $ errors . PHP_EOL ; }
Format the validation errors

@return string
Format the validation errors