From a61e0a1ff54600806ba1638c15615ee2c8b6f513 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=91=E6=9E=97?= Date: Tue, 17 Oct 2023 15:52:32 +0800 Subject: [PATCH] eee --- src/Handler.php | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/Handler.php b/src/Handler.php index 1350ed6..d1227be 100644 --- a/src/Handler.php +++ b/src/Handler.php @@ -23,14 +23,14 @@ class Handler implements RequestHandlerInterface * @var array|string[] */ protected array $types = [ - 'Psr\Http\Message\ResponseInterface' => ResponseInterface::class, - 'array' => ArrayFormat::class, - 'mixed' => MixedFormat::class, - 'object' => MixedFormat::class, - 'int' => OtherFormat::class, - 'string' => OtherFormat::class, - 'bool' => OtherFormat::class, - 'void' => VoidFormat::class, + ResponseInterface::class => ResponseInterface::class, + 'array' => ArrayFormat::class, + 'mixed' => MixedFormat::class, + 'object' => MixedFormat::class, + 'int' => OtherFormat::class, + 'string' => OtherFormat::class, + 'bool' => OtherFormat::class, + 'void' => VoidFormat::class, ];