Skip to content

Commit

Permalink
Merge pull request #16 from glintik/master
Browse files Browse the repository at this point in the history
Fix code example in README. Bump psr7 version to allow 2.X.
  • Loading branch information
jbaanus authored Dec 15, 2022
2 parents 40aa658 + dd550fb commit 178699a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ $config = Configuration::getDefaultConfiguration()
->setPassword('<MESSENTE_API_PASSWORD>');

$apiInstance = new OmnimessageApi(
new GuzzleHttp\Client(),
new \GuzzleHttp\Client(),
$config
);

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"ext-json": "*",
"ext-mbstring": "*",
"guzzlehttp/guzzle": "^6.2 || ^7.0",
"guzzlehttp/psr7": "^1.8"
"guzzlehttp/psr7": "^1.8 || ^2.0"
},
"require-dev": {
"phpunit/phpunit": "^7.4",
Expand Down

0 comments on commit 178699a

Please sign in to comment.