File tree 2 files changed +10
-0
lines changed
2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change 23
23
php-version : " 7.3"
24
24
dependency-versions : " lowest"
25
25
symfony-deprecations-helper : " weak"
26
+ stability : " stable"
26
27
27
28
# Test the latest stable release
28
29
- dependencies : " php-http/guzzle7-adapter php-http/vcr-plugin:^1.0@dev"
Original file line number Diff line number Diff line change @@ -65,6 +65,15 @@ public function formatRequest(RequestInterface $request)
65
65
return $ this ->formatter ->formatRequest ($ request );
66
66
}
67
67
68
+ public function formatResponseForRequest (ResponseInterface $ response , RequestInterface $ request )
69
+ {
70
+ if (method_exists ($ this ->formatter , 'formatResponseForRequest ' )) {
71
+ return $ this ->formatter ->formatResponseForRequest ($ response , $ request );
72
+ }
73
+
74
+ return $ this ->formatter ->formatResponse ($ response );
75
+ }
76
+
68
77
/**
69
78
* {@inheritdoc}
70
79
*/
You can’t perform that action at this time.
0 commit comments