From 7d359520dc01b81d78e8250da2807cc533466393 Mon Sep 17 00:00:00 2001 From: kakiuchi-shigenao Date: Sat, 3 May 2025 14:20:56 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20ok=E9=96=A2=E6=95=B0=E3=81=AE=E3=83=87?= =?UTF-8?q?=E3=83=95=E3=82=A9=E3=83=AB=E3=83=88=E5=80=A4=E3=82=92true?= =?UTF-8?q?=E3=81=AB=E8=A8=AD=E5=AE=9A=20Fixes=20#30?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Result/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Result/functions.php b/src/Result/functions.php index 80aa6c0..9ac05e0 100644 --- a/src/Result/functions.php +++ b/src/Result/functions.php @@ -16,7 +16,7 @@ * @param U $value * @return Result\Ok */ -function ok(mixed $value): Result\Ok +function ok(mixed $value = true): Result\Ok { return Result\Ok::unit($value); }