diff --git a/src/Handler.php b/src/Handler.php index 1630dac..9135d7b 100644 --- a/src/Handler.php +++ b/src/Handler.php @@ -19,26 +19,10 @@ use ReflectionNamedType; class Handler implements RequestHandlerInterface { - - /** - * @var array|string[] - */ - protected array $types = [ - 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, - ]; - - /** * @var IFormat */ - protected IFormat $format; + protected mixed $format; /**