From 32598d8575fcaa524a20b8bd4a0469daeb6b7c0f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=91=E6=9E=97?= Date: Tue, 17 Oct 2023 15:51:05 +0800 Subject: [PATCH] eee --- src/Handler.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Handler.php b/src/Handler.php index 07c5138..d98c332 100644 --- a/src/Handler.php +++ b/src/Handler.php @@ -47,7 +47,7 @@ class Handler implements RequestHandlerInterface */ public function __construct(public array|Closure $handler, public array $parameter, public ReflectionNamedType $reflectionType) { - $this->format = di($this->reflectionType->getName()); + $this->format = di($this->types[$this->reflectionType->getName()]); }