From 770881d5d66de36bb04fab8a2b9fdcae658150fa Mon Sep 17 00:00:00 2001 From: Christoph Wurst Date: Wed, 23 Jun 2021 15:28:07 +0200 Subject: Move DateTime::ATOM to DateTimeInterface::ATOM Signed-off-by: Christoph Wurst --- lib/private/Log/LogDetails.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/private/Log') diff --git a/lib/private/Log/LogDetails.php b/lib/private/Log/LogDetails.php index 5ca8231eecb..87ce0396594 100644 --- a/lib/private/Log/LogDetails.php +++ b/lib/private/Log/LogDetails.php @@ -37,7 +37,7 @@ abstract class LogDetails { public function logDetails(string $app, $message, int $level): array { // default to ISO8601 - $format = $this->config->getValue('logdateformat', \DateTime::ATOM); + $format = $this->config->getValue('logdateformat', \DateTimeInterface::ATOM); $logTimeZone = $this->config->getValue('logtimezone', 'UTC'); try { $timezone = new \DateTimeZone($logTimeZone); -- cgit v1.2.3