- Removed saveError method
This commit is contained in:
1 parent
4b86ac9e82
commit
2d560a0857
1 file changed
+2
-2
@@ -60,7 +60,7 @@ class ApiRenderer implements MiddlewareInterface {
|
||||
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)) {
|
||||
$request = $request->withMethod('PUT')->withParsedBody([]);
|
||||
@@ -81,7 +81,7 @@ class ApiRenderer implements MiddlewareInterface {
|
||||
}
|
||||
|
||||
return $entity;
|
||||
}
|
||||
}*/
|
||||
|
||||
public static function awaitingJson(ServerRequestInterface $request) : bool
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user