aboutsummaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/Comments/CommentsPlugin.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/dav/lib/Comments/CommentsPlugin.php')
-rw-r--r--apps/dav/lib/Comments/CommentsPlugin.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/dav/lib/Comments/CommentsPlugin.php b/apps/dav/lib/Comments/CommentsPlugin.php
index 52e48ec0ed1..ef0de057ebb 100644
--- a/apps/dav/lib/Comments/CommentsPlugin.php
+++ b/apps/dav/lib/Comments/CommentsPlugin.php
@@ -73,7 +73,7 @@ class CommentsPlugin extends ServerPlugin {
$this->server->xml->namespaceMap[self::NS_OWNCLOUD] = 'oc';
- $this->server->xml->classMap['DateTime'] = function (Writer $writer, \DateTime $value) {
+ $this->server->xml->classMap['DateTime'] = function (Writer $writer, \DateTime $value): void {
$writer->write(\Sabre\HTTP\toDate($value));
};