Skip to content

Commit 06cde89

Browse files
committed
Use nyholm/psr7
1 parent f7067ae commit 06cde89

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
"psr/http-factory": "^1",
4747
"psr/http-factory-implementation": "^1",
4848
"symfony/http-foundation": "^2.1||^3||^4",
49-
"zendframework/zend-diactoros": "^2.1"
49+
"nyholm/psr7": "^1"
5050
},
5151
"require-dev": {
5252
"omnipay/tests": "^3",

tests/Omnipay/Common/Http/ClientTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public function testSendPostJson()
6161
return false;
6262
}
6363

64-
if ($request->getBody()->getContents() !== '{foo:bar}') {
64+
if ((string) $request->getBody() !== '{foo:bar}') {
6565
return false;
6666
}
6767

0 commit comments

Comments
 (0)