Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
webeweb committed Feb 21, 2023
1 parent aa504c7 commit bdf4360
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"ext-json": "*",
"guzzlehttp/guzzle": "^6.0|^7.0",
"psr/log": "^1.0",
"webeweb/core-library": "^8.45"
"webeweb/core-library": "^8.69"
},
"require-dev": {
"phpunit/phpunit": "^7.0|^9.0"
Expand Down
5 changes: 2 additions & 3 deletions src/Provider/AbstractProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public function __construct(string $authorization = null, LoggerInterface $logge
}

/**
* Build the configuration.
* Builds the configuration.
*
* @return array Returns the configuration.
*/
Expand Down Expand Up @@ -90,13 +90,12 @@ private function buildConfiguration(): array {
private function callApi(string $uri, array $queryData): string {

if (null === $this->getAuthorization()) {
throw new InvalidArgumentException('The mandatory parameter "authorization" is missing');
throw $this->newMandatoryParameterException("authorization");
}

try {

$config = $this->buildConfiguration();

$client = new Client($config);

$method = "GET";
Expand Down

0 comments on commit bdf4360

Please sign in to comment.