fix(logger): Fix scoped PSR logger when running psalm:ci

Signed-off-by: Joas Schilling <coding@schilljs.com>
pull/45779/head
Joas Schilling 6 months ago
parent bfb3c23ba5
commit 0d383f1f66
No known key found for this signature in database
GPG Key ID: 74434EFE0D2E2205
  1. 18
      lib/private/AppFramework/ScopedPsrLogger.php

@ -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…
Cancel
Save