mirror of
https://github.com/nextcloud/server.git
synced 2025-02-25 09:20:16 +00:00
fix(logger): Fix scoped PSR logger when running psalm:ci
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
bfb3c23ba5
commit
0d383f1f66
1 changed files with 9 additions and 9 deletions
|
@ -24,7 +24,7 @@ class ScopedPsrLogger implements LoggerInterface {
|
|||
$this->appId = $appId;
|
||||
}
|
||||
|
||||
public function emergency($message, array $context = []) {
|
||||
public function emergency($message, array $context = []): void {
|
||||
$this->inner->emergency(
|
||||
$message,
|
||||
array_merge(
|
||||
|
@ -36,7 +36,7 @@ class ScopedPsrLogger implements LoggerInterface {
|
|||
);
|
||||
}
|
||||
|
||||
public function alert($message, array $context = []) {
|
||||
public function alert($message, array $context = []): void {
|
||||
$this->inner->alert(
|
||||
$message,
|
||||
array_merge(
|
||||
|
@ -48,7 +48,7 @@ class ScopedPsrLogger implements LoggerInterface {
|
|||
);
|
||||
}
|
||||
|
||||
public function critical($message, array $context = []) {
|
||||
public function critical($message, array $context = []): void {
|
||||
$this->inner->critical(
|
||||
$message,
|
||||
array_merge(
|
||||
|
@ -60,7 +60,7 @@ class ScopedPsrLogger implements LoggerInterface {
|
|||
);
|
||||
}
|
||||
|
||||
public function error($message, array $context = []) {
|
||||
public function error($message, array $context = []): void {
|
||||
$this->inner->error(
|
||||
$message,
|
||||
array_merge(
|
||||
|
@ -72,7 +72,7 @@ class ScopedPsrLogger implements LoggerInterface {
|
|||
);
|
||||
}
|
||||
|
||||
public function warning($message, array $context = []) {
|
||||
public function warning($message, array $context = []): void {
|
||||
$this->inner->warning(
|
||||
$message,
|
||||
array_merge(
|
||||
|
@ -84,7 +84,7 @@ class ScopedPsrLogger implements LoggerInterface {
|
|||
);
|
||||
}
|
||||
|
||||
public function notice($message, array $context = []) {
|
||||
public function notice($message, array $context = []): void {
|
||||
$this->inner->notice(
|
||||
$message,
|
||||
array_merge(
|
||||
|
@ -96,7 +96,7 @@ class ScopedPsrLogger implements LoggerInterface {
|
|||
);
|
||||
}
|
||||
|
||||
public function info($message, array $context = []) {
|
||||
public function info($message, array $context = []): void {
|
||||
$this->inner->info(
|
||||
$message,
|
||||
array_merge(
|
||||
|
@ -108,7 +108,7 @@ class ScopedPsrLogger implements LoggerInterface {
|
|||
);
|
||||
}
|
||||
|
||||
public function debug($message, array $context = []) {
|
||||
public function debug($message, array $context = []): void {
|
||||
$this->inner->debug(
|
||||
$message,
|
||||
array_merge(
|
||||
|
@ -120,7 +120,7 @@ class ScopedPsrLogger implements LoggerInterface {
|
|||
);
|
||||
}
|
||||
|
||||
public function log($level, $message, array $context = []) {
|
||||
public function log($level, $message, array $context = []): void {
|
||||
$this->inner->log(
|
||||
$level,
|
||||
$message,
|
||||
|
|
Loading…
Reference in a new issue