Skip to content

Commit

Permalink
Fixed response body does not exists when bad request. (#2803)
Browse files Browse the repository at this point in the history
* Fixed response body does not exists when bad request.

* Update JsonParser.php

* Update CHANGELOG-2.0.md
  • Loading branch information
limingxinleo authored Nov 13, 2020
1 parent 13e8ece commit 4cedd1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Server/Request/JsonParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
use Hyperf\HttpMessage\Exception\BadRequestHttpException;
use Hyperf\HttpMessage\Server\RequestParserInterface;
use Hyperf\Utils\Codec\Json;
use Hyperf\Utils\Exception\InvalidArgumentException;
use InvalidArgumentException;

class JsonParser implements RequestParserInterface
{
Expand Down

0 comments on commit 4cedd1a

Please sign in to comment.