Skip to content

Commit b503a1f

Browse files
committed
StringValue の MIN_LENGTH を 1→0 に変更する(空文字が弾かれるため)
Fixes #61
1 parent 2560243 commit b503a1f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/String/Base/StringValueBase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
*/
1919
abstract readonly class StringValueBase implements IValueObject, Stringable, IStringValueFactory
2020
{
21-
final protected const int MIN_LENGTH = 1;
21+
final protected const int MIN_LENGTH = 0;
2222
final protected const int MAX_LENGTH = 4194303;
2323
final protected const string REGEX = '/^.*$/u';
2424

0 commit comments

Comments
 (0)