This commit is contained in:
2023-12-03 01:26:55 +08:00
parent b7687f8a79
commit 6b66be1499
3 changed files with 24 additions and 3 deletions
-2
View File
@@ -44,7 +44,6 @@ class Handler implements RequestHandlerInterface
* @param ReflectionNamedType|null $reflectionType
* @throws ContainerExceptionInterface
* @throws NotFoundExceptionInterface
* @throws ReflectionException
*/
public function __construct(public array|Closure $handler, public array $parameter, public ?ReflectionNamedType $reflectionType)
{
@@ -77,7 +76,6 @@ class Handler implements RequestHandlerInterface
* @return void
* @throws ContainerExceptionInterface
* @throws NotFoundExceptionInterface
* @throws ReflectionException
*/
public function setRequestMethod(string $method): void
{