aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Log/Syslog.php
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2022-12-05 19:54:37 +0100
committerChristoph Wurst <christoph@winzerhof-wurst.at>2022-12-19 09:31:55 +0100
commit58a07407945074af7022f3d93cdf1aa59fa32f1b (patch)
tree0ed91a315b8999fcd5c0d320e50d7a4e1d8698d0 /lib/private/Log/Syslog.php
parente12aaa298861743f798d9adf644d626ac8e89a95 (diff)
downloadnextcloud-server-58a07407945074af7022f3d93cdf1aa59fa32f1b.tar.gz
nextcloud-server-58a07407945074af7022f3d93cdf1aa59fa32f1b.zip
fix(logging): Fix array to string conversion in errorlog writer
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'lib/private/Log/Syslog.php')
-rw-r--r--lib/private/Log/Syslog.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Log/Syslog.php b/lib/private/Log/Syslog.php
index 8140b4ec77c..f4ba857742f 100644
--- a/lib/private/Log/Syslog.php
+++ b/lib/private/Log/Syslog.php
@@ -53,7 +53,7 @@ class Syslog extends LogDetails implements IWriter {
/**
* write a message in the log
* @param string $app
- * @param string $message
+ * @param string|array $message
* @param int $level
*/
public function write(string $app, $message, int $level) {