- Merged with master done

This commit is contained in:
Dave Mc Nicoll 2026-02-25 19:40:07 +00:00
parent 50b17ec8b6
commit 9c5e8c66ff
2 changed files with 7 additions and 2 deletions

View File

@ -53,5 +53,9 @@ return [
'error.500' => function(ContainerInterface $c, Picea $picea) {
return $c->get(HttpFactoryInterface::class)::createHtmlResponse($picea->renderHtml("lean/error/500", []), 500);
}
},
ThrowableHandlerInterface::class => autowire(ThrowableHandler::class),
NotFoundDecoratorInterface::class => autowire(NotFoundDecorator::class),
# MethodNotAllowedInterface::class => autowire(MethodNotAllowedDecorator::class),
];

View File

@ -37,8 +37,8 @@ class ApplicationStrategy extends Strategy\ApplicationStrategy {
public function getMethodNotAllowedDecorator(MethodNotAllowedException $exception): MiddlewareInterface
{
return $this->getContainer()->has(MethodNotAllowedInterface::class) ? $this->getContainer()->get(MethodNotAllowedInterface::class) : parent::getMethodNotAllowedDecorator($exception);
}
/*<<<<<<< HEAD
/*=======
public function getMethodNotAllowedDecorator(MethodNotAllowedException $exception): MiddlewareInterface
public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface
@ -69,4 +69,5 @@ class ApplicationStrategy extends Strategy\ApplicationStrategy {
}
>>>>>>> af8b686 (- WIP on ulmus-user mechanics updates)*/
}