diff options
author | Vitor Mattos <vitor@php.rio> | 2022-06-13 16:12:35 -0300 |
---|---|---|
committer | Vitor Mattos <vitor@php.rio> | 2022-06-13 16:12:35 -0300 |
commit | b9def2f073e43208a16428fcfcbf631a94aefb76 (patch) | |
tree | 3749da6f926d2f0386c45989a2fe05fff4d2c350 /lib/private/Comments | |
parent | 45cdb36d5c96b9beb839881b6eee42aea6c54d79 (diff) | |
download | nextcloud-server-b9def2f073e43208a16428fcfcbf631a94aefb76.tar.gz nextcloud-server-b9def2f073e43208a16428fcfcbf631a94aefb76.zip |
Set as optional argument
Signed-off-by: Vitor Mattos <vitor@php.rio>
Diffstat (limited to 'lib/private/Comments')
-rw-r--r-- | lib/private/Comments/Comment.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Comments/Comment.php b/lib/private/Comments/Comment.php index b19a901f1b0..c588c5570e7 100644 --- a/lib/private/Comments/Comment.php +++ b/lib/private/Comments/Comment.php @@ -352,7 +352,7 @@ class Comment implements IComment { /** * @inheritDoc */ - public function setLatestChildDateTime(\DateTime $dateTime = null) { + public function setLatestChildDateTime(?\DateTime $dateTime = null) { $this->data['latestChildDT'] = $dateTime; return $this; } |