aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/AppFramework
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2024-06-11 11:52:18 +0200
committerJoas Schilling <coding@schilljs.com>2024-06-11 11:52:18 +0200
commit0d383f1f66efa4694144e48aa01f2a27f0c6fbe3 (patch)
tree66da4116a6cd893844f7a269652340ff3e9a3842 /lib/private/AppFramework
parentbfb3c23ba580e741c9d7e7112a3f135cf2b634f5 (diff)
downloadnextcloud-server-0d383f1f66efa4694144e48aa01f2a27f0c6fbe3.tar.gz
nextcloud-server-0d383f1f66efa4694144e48aa01f2a27f0c6fbe3.zip
fix(logger): Fix scoped PSR logger when running psalm:ci
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/private/AppFramework')
-rw-r--r--lib/private/AppFramework/ScopedPsrLogger.php18
1 files changed, 9 insertions, 9 deletions
diff --git a/lib/private/AppFramework/ScopedPsrLogger.php b/lib/private/AppFramework/ScopedPsrLogger.php
index 2eaabdbedd7..0a8e2b0d303 100644
--- a/lib/private/AppFramework/ScopedPsrLogger.php
+++ b/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,