We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f7067ae commit 06cde89Copy full SHA for 06cde89
composer.json
@@ -46,7 +46,7 @@
46
"psr/http-factory": "^1",
47
"psr/http-factory-implementation": "^1",
48
"symfony/http-foundation": "^2.1||^3||^4",
49
- "zendframework/zend-diactoros": "^2.1"
+ "nyholm/psr7": "^1"
50
},
51
"require-dev": {
52
"omnipay/tests": "^3",
tests/Omnipay/Common/Http/ClientTest.php
@@ -61,7 +61,7 @@ public function testSendPostJson()
61
return false;
62
}
63
64
- if ($request->getBody()->getContents() !== '{foo:bar}') {
+ if ((string) $request->getBody() !== '{foo:bar}') {
65
66
67
0 commit comments