Skip to content

Commit

Permalink
Allow psr/log >= 3.0. (#355)
Browse files Browse the repository at this point in the history
  • Loading branch information
ptondereau authored Jun 22, 2022
1 parent 7112f25 commit 7feb044
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"ext-dom": "*",
"ext-simplexml": "*",
"guzzlehttp/guzzle": "^6.0 || ^7.0",
"psr/log": "^1.0"
"psr/log": "^1.0 || ^2.0 || ^3.0"
},
"require-dev": {
"phpunit/phpunit": "^9.5.4"
Expand Down
2 changes: 1 addition & 1 deletion src/Request.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public function __construct(LoggerInterface $logger = null)
*
* @return null
*/
public function setLogger(LoggerInterface $logger)
public function setLogger(LoggerInterface $logger): void
{
$this->logger = $logger;
}
Expand Down
2 changes: 1 addition & 1 deletion src/SoapRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public function __construct(LoggerInterface $logger = null)
*
* @return null
*/
public function setLogger(LoggerInterface $logger)
public function setLogger(LoggerInterface $logger): void
{
$this->logger = $logger;
}
Expand Down
2 changes: 1 addition & 1 deletion src/Ups.php
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ public function setContext($context)
/**
* @param LoggerInterface $logger
*/
public function setLogger(LoggerInterface $logger)
public function setLogger(LoggerInterface $logger): void
{
$this->logger = $logger;
}
Expand Down

0 comments on commit 7feb044

Please sign in to comment.