Skip to content

Commit

Permalink
Use nyholm/psr7
Browse files Browse the repository at this point in the history
  • Loading branch information
barryvdh committed Mar 22, 2019
1 parent f7067ae commit 06cde89
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"psr/http-factory": "^1",
"psr/http-factory-implementation": "^1",
"symfony/http-foundation": "^2.1||^3||^4",
"zendframework/zend-diactoros": "^2.1"
"nyholm/psr7": "^1"
},
"require-dev": {
"omnipay/tests": "^3",
Expand Down
2 changes: 1 addition & 1 deletion tests/Omnipay/Common/Http/ClientTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public function testSendPostJson()
return false;
}

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

Expand Down

0 comments on commit 06cde89

Please sign in to comment.