Renamed JsonErrorHandler to JsonErrorResponseGenerator

This commit is contained in:
Alejandro Celaya
2017-03-25 09:46:29 +01:00
parent cd47aae902
commit 288249d0b8
3 changed files with 7 additions and 7 deletions

View File

@@ -8,7 +8,7 @@ use Psr\Http\Message\ServerRequestInterface as Request;
use Zend\Diactoros\Response\JsonResponse;
use Zend\Expressive\Router\RouteResult;
class JsonErrorHandler implements ErrorResponseGeneratorInterface, StatusCodeInterface
class JsonErrorResponseGenerator implements ErrorResponseGeneratorInterface, StatusCodeInterface
{
/**
* Final handler for an application.