- Removed saveError method

This commit is contained in:
mcndave committed 2026-10-27 18:29:04 +00:00
1 parent 4b86ac9e82
commit 2d560a0857
1 file changed
+2 -2
+2 -2
View File
@@ -60,7 +60,7 @@ class ApiRenderer implements MiddlewareInterface {
return $response; return $response;
} }
protected function saveError(ServerRequestInterface $request, \Throwable $exception) : Entity\Error /*protected function saveError(ServerRequestInterface $request, \Throwable $exception) : Entity\Error
{ {
if ($debugFormFactory = $this->container->get(DebugFormFactoryInterface::class)) { if ($debugFormFactory = $this->container->get(DebugFormFactoryInterface::class)) {
$request = $request->withMethod('PUT')->withParsedBody([]); $request = $request->withMethod('PUT')->withParsedBody([]);
@@ -81,7 +81,7 @@ class ApiRenderer implements MiddlewareInterface {
} }
return $entity; return $entity;
} }*/
public static function awaitingJson(ServerRequestInterface $request) : bool public static function awaitingJson(ServerRequestInterface $request) : bool
{ {