From dbff74abfa47adfca13fdb02fb64ab1c845114b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=91=E6=9E=97?= Date: Sun, 8 Oct 2023 18:46:15 +0800 Subject: [PATCH] eee --- src/Validator/Validator.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Validator/Validator.php b/src/Validator/Validator.php index 96b41a0..72ea28a 100644 --- a/src/Validator/Validator.php +++ b/src/Validator/Validator.php @@ -72,6 +72,9 @@ class Validator default => $value }; } + if ($value === 'null') { + $value = null; + } $this->formData->{$key} = $value; } }