fix(logging): Fix array to string conversion in errorlog writer

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
This commit is contained in:
Christoph Wurst 2022-12-05 19:54:37 +01:00
parent bba890822b
commit 0e56c19f8d
No known key found for this signature in database
GPG key ID: CC42AC2A7F0E56D8

View file

@ -33,7 +33,8 @@ class Errorlog extends LogDetails implements IWriter {
/** @var string */
protected $tag;
public function __construct(string $tag = 'owncloud') {
public function __construct(SystemConfig $config, string $tag = 'owncloud') {
parent::__construct($config);
$this->tag = $tag;
}