This commit is contained in:
2023-10-17 15:52:14 +08:00
parent 32598d8575
commit 6a624939c2
+8 -7
View File
@@ -23,13 +23,14 @@ class Handler implements RequestHandlerInterface
* @var array|string[]
*/
protected array $types = [
'array' => ArrayFormat::class,
'mixed' => MixedFormat::class,
'object' => MixedFormat::class,
'int' => OtherFormat::class,
'string' => OtherFormat::class,
'bool' => OtherFormat::class,
'void' => VoidFormat::class,
'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,
];