This commit is contained in:
2023-10-17 15:51:05 +08:00
parent 3bfbdbff9f
commit 32598d8575
+1 -1
View File
@@ -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()]);
}