Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2d560a0857 |
@@ -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