This commit is contained in:
2023-12-20 21:41:46 +08:00
parent c4b980440f
commit a51f6cefc9
+1
View File
@@ -64,6 +64,7 @@ class Handler implements RequestHandlerInterface
*/
protected function returnType($reflectionType): string
{
var_dump($reflectionType->getName());
return match ($reflectionType->getName()) {
'array' => ArrayFormat::class,
'mixed', 'object' => MixedFormat::class,