diff options
author | Carl Schwan <carl@carlschwan.eu> | 2022-11-25 11:19:47 +0100 |
---|---|---|
committer | Côme Chilliet <come.chilliet@nextcloud.com> | 2023-06-20 10:55:20 +0200 |
commit | 9725d0032944ebe5a73d59781a66742c5d1ae404 (patch) | |
tree | d7f90b66e49297e276241ed3960716cddfbad49a /apps/dav/lib/Comments/CommentNode.php | |
parent | 5063bf37ed3e68041adb9a96f430a87d59106491 (diff) | |
download | nextcloud-server-9725d0032944ebe5a73d59781a66742c5d1ae404.tar.gz nextcloud-server-9725d0032944ebe5a73d59781a66742c5d1ae404.zip |
Cleanup comments code
- Fix various psalm issues
- Add as much typing as possible while preserving stable API
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Diffstat (limited to 'apps/dav/lib/Comments/CommentNode.php')
-rw-r--r-- | apps/dav/lib/Comments/CommentNode.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/apps/dav/lib/Comments/CommentNode.php b/apps/dav/lib/Comments/CommentNode.php index b41dbc276e8..690d5d6c709 100644 --- a/apps/dav/lib/Comments/CommentNode.php +++ b/apps/dav/lib/Comments/CommentNode.php @@ -165,10 +165,8 @@ class CommentNode implements \Sabre\DAV\INode, \Sabre\DAV\IProperties { /** * Returns the last modification time, as a unix timestamp - * - * @return int */ - public function getLastModified() { + public function getLastModified(): ?int { return null; } |