Skip to content

Commit

Permalink
Revert "Update for Guzzle 7 (restcord#141)"
Browse files Browse the repository at this point in the history
This reverts commit cf4eb3e.
  • Loading branch information
ZS-Andisch committed May 24, 2021
1 parent a1d5e1d commit a67968f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"type": "library",
"require": {
"php": "^7.3|^8.0",
"guzzlehttp/guzzle": "^6.3|^7.0",
"guzzlehttp/guzzle": "^6.3",
"guzzlehttp/guzzle-services": "^1.0",
"monolog/monolog": "^1.22|^2.0",
"netresearch/jsonmapper": "^1.4",
Expand Down
4 changes: 2 additions & 2 deletions src/Logging/MessageFormatter.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ public function __construct($template, $token)
*/
public function format(
RequestInterface $request,
$response = null,
$error = null
ResponseInterface $response = null,
\Exception $error = null
) {
$template = parent::format($request, $response, $error);

Expand Down

0 comments on commit a67968f

Please sign in to comment.