Skip to content

Commit 5640e8a

Browse files
committed
Comply with psr/log 3
Signed-off-by: Athos Ribeiro <[email protected]>
1 parent 6ff3c37 commit 5640e8a

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

classes/mutex/RedisMutex.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,9 @@ public function __construct(array $redisAPIs, string $name, int $timeout = 3)
6262
* be logged as warnings.
6363
*
6464
* @param LoggerInterface $logger The logger.
65+
* @return void.
6566
*/
66-
public function setLogger(LoggerInterface $logger)
67+
public function setLogger(LoggerInterface $logger): void
6768
{
6869
$this->logger = $logger;
6970
}

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
},
4444
"require": {
4545
"php": "^7.2 || ^8.0",
46-
"psr/log": "^1"
46+
"psr/log": "^3"
4747
},
4848
"require-dev": {
4949
"ext-memcached": "*",

0 commit comments

Comments
 (0)