Skip to content

Commit

Permalink
Rise httpsoft/http-response to v1.1 (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
devanych committed May 5, 2023
1 parent 8b69b0d commit a9f15ce
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@
},
"require": {
"php": "^7.4|^8.0",
"httpsoft/http-response": "^1.0",
"httpsoft/http-response": "^1.1",
"psr/http-server-handler": "^1.0",
"psr/http-server-middleware": "^1.0"
},
"require-dev": {
"httpsoft/http-server-request": "^1.0",
"httpsoft/http-server-request": "^1.1",
"phpunit/phpunit": "^9.5",
"squizlabs/php_codesniffer": "^3.7",
"vimeo/psalm": "^4.9|^5.2"
Expand Down
2 changes: 1 addition & 1 deletion src/ErrorHandlerTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ private function triggerListeners(Throwable $error, ServerRequestInterface $requ
* @param Throwable $error
* @param ServerRequestInterface $request
* @return ResponseInterface
* @psalm-suppress RedundantCastGivenDocblockType
* @psalm-suppress RedundantCast
*/
private function generateResponse(Throwable $error, ServerRequestInterface $request): ResponseInterface
{
Expand Down

0 comments on commit a9f15ce

Please sign in to comment.