- Merged with master done

This commit is contained in:
Dave Mc Nicoll committed 2026-10-19 19:55:34 +00:00
1 parent 50b17ec8b6
commit 9c5e8c66ff
2 files changed
+7 -2

No files matched your search

+5 -1
View File
@@ -53,5 +53,9 @@ return [
'error.500' => function(ContainerInterface $c, Picea $picea) { 'error.500' => function(ContainerInterface $c, Picea $picea) {
return $c->get(HttpFactoryInterface::class)::createHtmlResponse($picea->renderHtml("lean/error/500", []), 500); 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),
]; ];
+2 -1
View File
@@ -37,8 +37,8 @@ class ApplicationStrategy extends Strategy\ApplicationStrategy {
public function getMethodNotAllowedDecorator(MethodNotAllowedException $exception): MiddlewareInterface public function getMethodNotAllowedDecorator(MethodNotAllowedException $exception): MiddlewareInterface
{ {
return $this->getContainer()->has(MethodNotAllowedInterface::class) ? $this->getContainer()->get(MethodNotAllowedInterface::class) : parent::getMethodNotAllowedDecorator($exception); return $this->getContainer()->has(MethodNotAllowedInterface::class) ? $this->getContainer()->get(MethodNotAllowedInterface::class) : parent::getMethodNotAllowedDecorator($exception);
} }
/*<<<<<<< HEAD
/*======= /*=======
public function getMethodNotAllowedDecorator(MethodNotAllowedException $exception): MiddlewareInterface public function getMethodNotAllowedDecorator(MethodNotAllowedException $exception): MiddlewareInterface
public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface
@@ -69,4 +69,5 @@ class ApplicationStrategy extends Strategy\ApplicationStrategy {
} }
>>>>>>> af8b686 (- WIP on ulmus-user mechanics updates)*/ >>>>>>> af8b686 (- WIP on ulmus-user mechanics updates)*/
} }