feat: 同步下新环境

This commit is contained in:
笔记本里的永平
2025-07-07 11:31:25 +08:00
parent 3d1050db3d
commit 86c261ba70
196 changed files with 13146 additions and 29319 deletions

View File

@@ -15,11 +15,10 @@ class ValidateException extends \RuntimeException
{
protected $error;
public function __construct($error, $code = 0)
public function __construct($error)
{
$this->error = $error;
$this->message = is_array($error) ? implode(PHP_EOL, $error) : $error;
$this->code = $code;
$this->message = is_array($error) ? implode("\n\r", $error) : $error;
}
/**