From b503a1fc822c605173b76be37a054632e257716f Mon Sep 17 00:00:00 2001 From: kakiuchi-shigenao Date: Fri, 5 Sep 2025 13:00:04 +0900 Subject: [PATCH] =?UTF-8?q?StringValue=20=E3=81=AE=20MIN=5FLENGTH=20?= =?UTF-8?q?=E3=82=92=201=E2=86=920=20=E3=81=AB=E5=A4=89=E6=9B=B4=E3=81=99?= =?UTF-8?q?=E3=82=8B=EF=BC=88=E7=A9=BA=E6=96=87=E5=AD=97=E3=81=8C=E5=BC=BE?= =?UTF-8?q?=E3=81=8B=E3=82=8C=E3=82=8B=E3=81=9F=E3=82=81=EF=BC=89=20Fixes?= =?UTF-8?q?=20#61?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/String/Base/StringValueBase.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/String/Base/StringValueBase.php b/src/String/Base/StringValueBase.php index b659d47..fd7f179 100644 --- a/src/String/Base/StringValueBase.php +++ b/src/String/Base/StringValueBase.php @@ -18,7 +18,7 @@ */ abstract readonly class StringValueBase implements IValueObject, Stringable, IStringValueFactory { - final protected const int MIN_LENGTH = 1; + final protected const int MIN_LENGTH = 0; final protected const int MAX_LENGTH = 4194303; final protected const string REGEX = '/^.*$/u';