mirror of
https://github.com/nextcloud/server.git
synced 2026-04-23 07:08:34 -04:00
Set as optional argument
Signed-off-by: Vitor Mattos <vitor@php.rio>
This commit is contained in:
parent
45cdb36d5c
commit
b9def2f073
2 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -234,7 +234,7 @@ interface IComment {
|
|||
* @return IComment
|
||||
* @since 9.0.0
|
||||
*/
|
||||
public function setLatestChildDateTime(\DateTime $dateTime = null);
|
||||
public function setLatestChildDateTime(?\DateTime $dateTime = null);
|
||||
|
||||
/**
|
||||
* returns the object type the comment is attached to
|
||||
|
|
|
|||
Loading…
Reference in a new issue